Class IncorrectPasswordException

Class IncorrectPasswordException

名称: Aspose.Note 集合: Aspose.Note.dll (25.4.0)

如果文档被密码加密,并且在打开文件时指定的密碼是错误的或缺失的。

public class IncorrectPasswordException : Exception, ISerializable
{
    public IncorrectPasswordException() { }
    public IncorrectPasswordException(string message) : base(message) { }
    public IncorrectPasswordException(string message, Exception innerException) : base(message, innerException) { }
    protected IncorrectPasswordException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}

Inheritance

object Exception IncorrectPasswordException

Implements

ISerializable

继承人

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)

启动 Aspose.Note.IncorrectPasswordException 类的新例子。

protected IncorrectPasswordException(SerializationInfo serializationInfo, StreamingContext synchronizationContext)
   {
      base(serializationInfo, synchronizationContext);
   }

Parameters

serializationInfo SerializationInfo

序列信息。

synchronizationContext StreamingContext

同步的背景。

 中文