Class IncorrectPasswordException

Class IncorrectPasswordException

Namespace: Aspose.Note
Assembly: Aspose.Note.dll (24.12.0)

Thrown if a document is encrypted with a password and the password specified when opening the document is incorrect or missing.

public class IncorrectPasswordException : Exception, ISerializable

Inheritance

objectExceptionIncorrectPasswordException

Implements

ISerializable

Inherited Members

Exception.GetBaseException(), Exception.ToString(), Exception.GetType(), Exception.TargetSite, Exception.Message, Exception.Data, Exception.InnerException, Exception.HelpLink, Exception.Source, Exception.HResult, Exception.StackTrace, Exception.SerializeObjectState, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

IncorrectPasswordException(SerializationInfo, StreamingContext)

Initializes a new instance of the Aspose.Note.IncorrectPasswordException class.

protected IncorrectPasswordException(SerializationInfo serializationInfo, StreamingContext synchronizationContext)

Parameters

serializationInfo SerializationInfo

The serialization info.

synchronizationContext StreamingContext

The synchronization context.