C# Class SixLabors.ImageSharp.Textures.Common.Exceptions.UnknownTextureFormatException

The exception that is thrown when the library tries to load an image which has an unknown format.
Inheritance: TextureFormatException
显示文件 Open project: SixLabors/ImageSharp.Textures

Public Methods

Method Description
UnknownTextureFormatException ( string errorMessage )

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

Method Details

UnknownTextureFormatException() public method

Initializes a new instance of the UnknownTextureFormatException class with the name of the parameter that causes this exception.
public UnknownTextureFormatException ( string errorMessage )
errorMessage string The error message that explains the reason for this exception.