Class NotSupportedColorSpaceException
Represents an exception thrown when encountering a color space that is not supported by the library.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Exceptions
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class NotSupportedColorSpaceException : NotSupportedFeatureException, ISerializable, _Exception
Constructors
NotSupportedColorSpaceException()
Initializes a new instance of the NotSupportedColorSpaceException class.
Declaration
public NotSupportedColorSpaceException()
NotSupportedColorSpaceException(SerializationInfo, StreamingContext)
Initializes a new instance of the NotSupportedColorSpaceException class.
Declaration
protected NotSupportedColorSpaceException(SerializationInfo info, StreamingContext context)
Parameters
System.Runtime.Serialization.SerializationInfo
info
The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext
context
The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
NotSupportedColorSpaceException(String)
Initializes a new instance of the NotSupportedColorSpaceException class.
Declaration
public NotSupportedColorSpaceException(string colorSpace)
Parameters
System.String
colorSpace
The name of the unsupported color space. |
NotSupportedColorSpaceException(String, Exception)
Initializes a new instance of the NotSupportedColorSpaceException class.
Declaration
public NotSupportedColorSpaceException(string message, Exception cause)
Parameters
System.String
message
The error message that explains the reason for the exception. |
System.Exception
cause
The exception that is the cause of the current exception. |
NotSupportedColorSpaceException(String, String)
Initializes a new instance of the NotSupportedColorSpaceException class.
Declaration
public NotSupportedColorSpaceException(string colorSpace, string message)
Parameters
System.String
colorSpace
The name of the unsupported color space. |
System.String
message
The error message that explains the reason for the exception. |
Properties
ColorSpace
Gets the name of the unsupported color space.
Declaration
public string ColorSpace { get; }
Property Value
System.String
The name of the color space that is not supported. |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Provides COM objects with version-independent access to the System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) method
Declaration
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
System.Runtime.Serialization.SerializationInfo
info
The System.Runtime.Serialization.SerializationInfo object that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext
context
The System.Runtime.Serialization.StreamingContext structure that contains contextual information about the source or destination. |