New to Telerik Document ProcessingStart a free 30-day trial

Thrown when a shading or pattern dictionary uses a paint type that is not supported.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Exceptions

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public class NotSupportedPaintTypeException : NotSupportedFeatureException, ISerializable

Inheritance: objectExceptionNotSupportedFeatureExceptionNotSupportedPaintTypeException

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 NotSupportedPaintTypeException class.

C#
public NotSupportedPaintTypeException()

Initializes a new instance of the NotSupportedPaintTypeException class.

C#
public NotSupportedPaintTypeException(int paintType, string message)
Parameters:paintTypeint

The numeric identifier of the unsupported paint type.

messagestring

The error message that explains the reason for the exception.

Initializes a new instance of the NotSupportedPaintTypeException class.

C#
public NotSupportedPaintTypeException(int paintType)
Parameters:paintTypeint

The numeric identifier of the unsupported paint type.

Initializes a new instance of the NotSupportedPaintTypeException class.

C#
protected NotSupportedPaintTypeException(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 NotSupportedPaintTypeException class.

C#
public NotSupportedPaintTypeException(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 NotSupportedPaintTypeException class.

C#
public NotSupportedPaintTypeException(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 paint type.

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

The paint type identifier that is not supported.