UnknownImageFormatException Class
The exception thrown when the input does not start with the signature of a supported image format.
public class UnknownImageFormatException : ImageException- Inheritance
ImageExceptionUnknownImageFormatException
Constructors
| Name | Description |
|---|---|
| UnknownImageFormatException() | Initializes a new instance of the UnknownImageFormatException class. |
| UnknownImageFormatException(string?) | Initializes a new instance of the UnknownImageFormatException class with a message. |
| UnknownImageFormatException(string?, Exception?) | Initializes a new instance of the UnknownImageFormatException class with a message and an inner exception. |
UnknownImageFormatException overloads
UnknownImageFormatException()
UnknownImageFormatException.csInitializes a new instance of the UnknownImageFormatException class.
public UnknownImageFormatException()UnknownImageFormatException(string?)
UnknownImageFormatException.csInitializes a new instance of the UnknownImageFormatException class with a message.
public UnknownImageFormatException(string? message)Parameters
messagestring?- The error message.
UnknownImageFormatException(string?, Exception?)
UnknownImageFormatException.csInitializes a new instance of the UnknownImageFormatException class with a message and an inner exception.
Parameters
messagestring?- The error message.
innerExceptionException?- The exception that caused this exception.