New to Telerik Document ProcessingStart a free 30-day trial

Thrown when a document’s encryption revision is not supported by the processing engine.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Exceptions

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public class NotSupportedEncryptionRevisionException : NotSupportedFeatureException, ISerializable

Inheritance: objectExceptionNotSupportedFeatureExceptionNotSupportedEncryptionRevisionException

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

C#
public NotSupportedEncryptionRevisionException()

Initializes a new instance of the NotSupportedEncryptionRevisionException class.

C#
public NotSupportedEncryptionRevisionException(int revisionCode, string message)
Parameters:revisionCodeint

The encryption revision code.

messagestring

The message.

Initializes a new instance of the NotSupportedEncryptionRevisionException class.

C#
public NotSupportedEncryptionRevisionException(int revisionCode)
Parameters:revisionCodeint

The encryption revision code.

Initializes a new instance of the NotSupportedEncryptionRevisionException class.

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

C#
public NotSupportedEncryptionRevisionException(string message, Exception cause)
Parameters:messagestring

The message that describes the error.

causeException

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

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 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 encryption revision code that is not supported.

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

The numeric code of the unsupported encryption revision.