New to Telerik UI for WinFormsStart a free 30-day trial

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:

C#
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

Initializes a new instance of the NotSupportedEncryptionException class.

C#
public NotSupportedEncryptionException()

Initializes a new instance of the NotSupportedEncryptionException class.

C#
public NotSupportedEncryptionException(int encryptionCode, string message)
Parameters:encryptionCodeint

The numeric code of the unsupported encryption method.

messagestring

The error message that explains the reason for the exception.

Initializes a new instance of the NotSupportedEncryptionException class.

C#
public NotSupportedEncryptionException(int encryptionCode)
Parameters:encryptionCodeint

The numeric code of the unsupported encryption method.

Initializes a new instance of the NotSupportedEncryptionException class.

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

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

Properties

Gets the numeric code of the unsupported encryption method.

C#
public int EncryptionCode { get; }
Property Value:

The encryption method code that is not supported.

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)