New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
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

Initializes a new instance of the NotSupportedShadingTypeException class.

C#
public NotSupportedShadingTypeException()

Initializes a new instance of the NotSupportedShadingTypeException class.

C#
public NotSupportedShadingTypeException(int shadingType, string message)
Parameters:shadingTypeint

The numeric identifier of the unsupported shading type.

messagestring

The error message that explains the reason for the exception.

Initializes a new instance of the NotSupportedShadingTypeException class.

C#
public NotSupportedShadingTypeException(int shadingType)
Parameters:shadingTypeint

The numeric identifier of the unsupported shading type.

Initializes a new instance of the NotSupportedShadingTypeException class.

C#
protected NotSupportedShadingTypeException(SerializationInfo info, StreamingContext context)
Parameters:infoSerializationInfo

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

contextStreamingContext

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

Initializes a new instance of the NotSupportedShadingTypeException class.

C#
public NotSupportedShadingTypeException(string message, Exception cause)
Parameters:messagestring

The error message that explains the reason for the exception.

causeException

The exception that is the cause of the current exception.

Initializes a new instance of the NotSupportedShadingTypeException class.

C#
public NotSupportedShadingTypeException(string message)
Parameters:messagestring

The error message that explains the reason for the exception.

Methods

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

C#
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters:infoSerializationInfo

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

contextStreamingContext

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

Overrides: Exception.GetObjectData(SerializationInfo, StreamingContext)

Properties

Gets the numeric identifier of the unsupported shading type.

C#
public int ShadingType { get; }
Property Value:

The shading type identifier that is not supported.