Class
NotSupportedPaintTypeException

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:

cs-api-definition
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

NotSupportedPaintTypeException()

Initializes a new instance of the NotSupportedPaintTypeException class.

Declaration

cs-api-definition
public NotSupportedPaintTypeException()

NotSupportedPaintTypeException(SerializationInfo, StreamingContext)

Initializes a new instance of the NotSupportedPaintTypeException class.

Declaration

cs-api-definition
protected NotSupportedPaintTypeException(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.

NotSupportedPaintTypeException(int)

Initializes a new instance of the NotSupportedPaintTypeException class.

Declaration

cs-api-definition
public NotSupportedPaintTypeException(int paintType)

Parameters

paintType

int

The numeric identifier of the unsupported paint type.

NotSupportedPaintTypeException(int, string)

Initializes a new instance of the NotSupportedPaintTypeException class.

Declaration

cs-api-definition
public NotSupportedPaintTypeException(int paintType, string message)

Parameters

paintType

int

The numeric identifier of the unsupported paint type.

message

string

The error message that explains the reason for the exception.

NotSupportedPaintTypeException(string)

Initializes a new instance of the NotSupportedPaintTypeException class.

Declaration

cs-api-definition
public NotSupportedPaintTypeException(string message)

Parameters

message

string

The error message that explains the reason for the exception.

NotSupportedPaintTypeException(string, Exception)

Initializes a new instance of the NotSupportedPaintTypeException class.

Declaration

cs-api-definition
public NotSupportedPaintTypeException(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

PaintType

Gets the numeric identifier of the unsupported paint type.

Declaration

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

Property Value

int

The paint 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)