Class ImageProviderException
Represents an exception thrown by an image provider
Implements
Inherited Members
Namespace: AdaptiveImages.Providers
Assembly: AdaptiveImages.dll
Syntax
public class ImageProviderException : Exception, ISerializable
Constructors
ImageProviderException(IImageProvider, string)
Creates an exception associated with a specific image provider instance
Declaration
public ImageProviderException(IImageProvider provider, string message)
Parameters
Type | Name | Description |
---|---|---|
IImageProvider | provider | |
string | message |
ImageProviderException(IImageProvider, string, Exception)
Creates an exception associated with a specific image provider instance and an inner exception
Declaration
public ImageProviderException(IImageProvider provider, string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
IImageProvider | provider | |
string | message | |
Exception | innerException |
Properties
Message
Gets a formatted error message including the image provider name
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Provider
Gets or sets the associated image provider
Declaration
public IImageProvider? Provider { get; protected set; }
Property Value
Type | Description |
---|---|
IImageProvider |