Table of Contents

Class ImageProcessingException

Namespace
SixLabors.ImageSharp
Assembly
SixLabors.ImageSharp.dll

The exception that is thrown when an error occurs when applying a process to an image.

public sealed class ImageProcessingException : Exception, ISerializable
Inheritance
ImageProcessingException
Implements
Inherited Members

Constructors

ImageProcessingException()

Initializes a new instance of the ImageProcessingException class.

public ImageProcessingException()

ImageProcessingException(string)

Initializes a new instance of the ImageProcessingException class with the name of the parameter that causes this exception.

public ImageProcessingException(string errorMessage)

Parameters

errorMessage string

The error message that explains the reason for this exception.

ImageProcessingException(string, Exception)

Initializes a new instance of the ImageProcessingException class with a specified error message and the exception that is the cause of this exception.

public ImageProcessingException(string errorMessage, Exception innerException)

Parameters

errorMessage string

The error message that explains the reason for this exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.