Show / Hide Table of Contents

Class ImageProviderException

Represents an exception thrown by an image provider

Inheritance
object
Exception
ImageProviderException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
Exception.Message

Provider

Gets or sets the associated image provider

Declaration
public IImageProvider? Provider { get; protected set; }
Property Value
Type Description
IImageProvider

Implements

ISerializable

Extension Methods

ImageExtensions.GetCultureSpecificImageAttribute<TContent, TProperty>(TContent, Expression<Func<TContent, TProperty>>)
ImageExtensions.GetImageConstraints<TParent>(TParent, string)
ImageExtensions.GetImageConstraints<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>)
ImageExtensions.GetImageRenderSettings<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>)
ImageExtensions.GetImageRenderSettings<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>, FormFactor)
ImageExtensions.GetProportionsConstraint<TParent>(TParent, string)
ImageExtensions.GetProportionsConstraint<TParent>(TParent, string, FormFactor)
ImageExtensions.GetProportionsConstraint<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>)
ImageExtensions.GetRequiredImageAttribute<TContent, TProperty>(TContent, Expression<Func<TContent, TProperty>>)
ImageExtensions.GetSizeConstraint<TContent, TProperty>(TContent, Expression<Func<TContent, TProperty>>)
☀
☾
In this article
Back to top
Documentation applies to: Adaptive Images 2.x
☀
☾