Class NotSupportedEncryptionException
Represents an exception thrown when encountering a document with an encryption method 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 NotSupportedEncryptionException : NotSupportedFeatureException, ISerializable, _Exception
Constructors
NotSupportedEncryptionException()
Initializes a new instance of the NotSupportedEncryptionException class.
Declaration
public NotSupportedEncryptionException()
NotSupportedEncryptionException(Int32)
Initializes a new instance of the NotSupportedEncryptionException class.
Declaration
public NotSupportedEncryptionException(int encryptionCode)
Parameters
System.Int32
encryptionCode
The numeric code of the unsupported encryption method. |
NotSupportedEncryptionException(Int32, String)
Initializes a new instance of the NotSupportedEncryptionException class.
Declaration
public NotSupportedEncryptionException(int encryptionCode, string message)
Parameters
System.Int32
encryptionCode
The numeric code of the unsupported encryption method. |
System.String
message
The error message that explains the reason for the exception. |
NotSupportedEncryptionException(SerializationInfo, StreamingContext)
Initializes a new instance of the NotSupportedEncryptionException class.
Declaration
protected NotSupportedEncryptionException(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. |
NotSupportedEncryptionException(String, Exception)
Initializes a new instance of the NotSupportedEncryptionException class.
Declaration
public NotSupportedEncryptionException(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. |
Properties
EncryptionCode
Gets the numeric code of the unsupported encryption method.
Declaration
public int EncryptionCode { get; }
Property Value
System.Int32
The encryption method code 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. |