New to Telerik Document ProcessingStart a free 30-day trial

Thrown when the document specifies a color space that the processing engine does not support.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Exceptions

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public class NotSupportedColorSpaceException : NotSupportedFeatureException, ISerializable

Inheritance: objectExceptionNotSupportedFeatureExceptionNotSupportedColorSpaceException

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

C#
public NotSupportedColorSpaceException()

Initializes a new instance of the NotSupportedColorSpaceException class.

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

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

C#
public NotSupportedColorSpaceException(string colorSpace, string message)
Parameters:colorSpacestring

The name of the unsupported color space.

messagestring

The error message that explains the reason for the exception.

Initializes a new instance of the NotSupportedColorSpaceException class.

C#
public NotSupportedColorSpaceException(string colorSpace)
Parameters:colorSpacestring

The name of the unsupported color space.

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 name of the unsupported color space.

C#
public string ColorSpace { get; }
Property Value:

The name of the color space that is not supported.