Class
NotSupportedEncryptionException

Thrown when a document uses an encryption method that is not supported by the processing engine.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Exceptions

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public class NotSupportedEncryptionException : NotSupportedFeatureException, ISerializable, _Exception

Inheritance: objectExceptionNotSupportedFeatureExceptionNotSupportedEncryptionException

Implements: ISerializable_Exception

Inherited Members Exception.GetBaseException()Exception.ToString()Exception.GetType()Exception.MessageException.DataException.InnerExceptionException.TargetSiteException.StackTraceException.HelpLinkException.SourceException.HResultException.SerializeObjectState

Constructors

NotSupportedEncryptionException()

Initializes a new instance of the NotSupportedEncryptionException class.

Declaration

cs-api-definition
public NotSupportedEncryptionException()

NotSupportedEncryptionException(SerializationInfo, StreamingContext)

Initializes a new instance of the NotSupportedEncryptionException class.

Declaration

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

NotSupportedEncryptionException(int)

Initializes a new instance of the NotSupportedEncryptionException class.

Declaration

cs-api-definition
public NotSupportedEncryptionException(int encryptionCode)

Parameters

encryptionCode

int

The numeric code of the unsupported encryption method.

NotSupportedEncryptionException(int, string)

Initializes a new instance of the NotSupportedEncryptionException class.

Declaration

cs-api-definition
public NotSupportedEncryptionException(int encryptionCode, string message)

Parameters

encryptionCode

int

The numeric code of the unsupported encryption method.

message

string

The error message that explains the reason for the exception.

NotSupportedEncryptionException(string, Exception)

Initializes a new instance of the NotSupportedEncryptionException class.

Declaration

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

EncryptionCode

Gets the numeric code of the unsupported encryption method.

Declaration

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

Property Value

int

The encryption method code 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)