Class
NotSupportedShadingTypeException

Thrown when a shading dictionary specifies a shading type that is not supported.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Exceptions

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public class NotSupportedShadingTypeException : NotSupportedFeatureException, ISerializable

Inheritance: objectExceptionNotSupportedFeatureExceptionNotSupportedShadingTypeException

Implements: ISerializable

Inherited Members Exception.GetBaseException()Exception.ToString()Exception.GetType()Exception.TargetSiteException.MessageException.DataException.InnerExceptionException.HelpLinkException.SourceException.HResultException.StackTraceException.SerializeObjectState

Constructors

NotSupportedShadingTypeException()

Initializes a new instance of the NotSupportedShadingTypeException class.

Declaration

cs-api-definition
public NotSupportedShadingTypeException()

NotSupportedShadingTypeException(SerializationInfo, StreamingContext)

Initializes a new instance of the NotSupportedShadingTypeException class.

Declaration

cs-api-definition
protected NotSupportedShadingTypeException(SerializationInfo info, StreamingContext context)

Parameters

info

SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context

StreamingContext

The StreamingContext that contains contextual information about the source or destination.

NotSupportedShadingTypeException(int)

Initializes a new instance of the NotSupportedShadingTypeException class.

Declaration

cs-api-definition
public NotSupportedShadingTypeException(int shadingType)

Parameters

shadingType

int

The numeric identifier of the unsupported shading type.

NotSupportedShadingTypeException(int, string)

Initializes a new instance of the NotSupportedShadingTypeException class.

Declaration

cs-api-definition
public NotSupportedShadingTypeException(int shadingType, string message)

Parameters

shadingType

int

The numeric identifier of the unsupported shading type.

message

string

The error message that explains the reason for the exception.

NotSupportedShadingTypeException(string)

Initializes a new instance of the NotSupportedShadingTypeException class.

Declaration

cs-api-definition
public NotSupportedShadingTypeException(string message)

Parameters

message

string

The error message that explains the reason for the exception.

NotSupportedShadingTypeException(string, Exception)

Initializes a new instance of the NotSupportedShadingTypeException class.

Declaration

cs-api-definition
public NotSupportedShadingTypeException(string message, Exception cause)

Parameters

message

string

The error message that explains the reason for the exception.

cause

Exception

The exception that is the cause of the current exception.

Properties

ShadingType

Gets the numeric identifier of the unsupported shading type.

Declaration

cs-api-definition
public int ShadingType { get; }

Property Value

int

The shading type identifier that is not supported.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Provides COM objects with version-independent access to the GetObjectData(SerializationInfo, StreamingContext) method

Declaration

cs-api-definition
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info

SerializationInfo

The SerializationInfo object that holds the serialized object data about the exception being thrown.

context

StreamingContext

The StreamingContext structure that contains contextual information about the source or destination.

Overrides Exception.GetObjectData(SerializationInfo, StreamingContext)