CannotDecryptPdfException Class

Docotic.Pdf library help > BitMiracle.Docotic.Pdf > CannotDecryptPdfException Class
The exception that is thrown when the library can not decrypt an encrypted PDF.

Inheritance Hierarchy

System.Object
  System.Exception
    BitMiracle.Docotic.Pdf.PdfException
      BitMiracle.Docotic.Pdf.CannotDecryptPdfException

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
[SerializableAttribute]
public class CannotDecryptPdfException : PdfException
VB
<SerializableAttribute>
Public Class CannotDecryptPdfException
	Inherits PdfException

The CannotDecryptPdfException type exposes the following members.

Constructors

  NameDescription
Public methodCannotDecryptPdfException()
Initializes a new instance of the CannotDecryptPdfException class.
Public methodCannotDecryptPdfException(String)
Initializes a new instance of the CannotDecryptPdfException class.
Protected methodCannotDecryptPdfException(SerializationInfo, StreamingContext)
Initializes a new instance of the CannotDecryptPdfException class.
Public methodCannotDecryptPdfException(String, Exception)
Initializes a new instance of the CannotDecryptPdfException class.

Properties

  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectData (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)

Events

  NameDescription
Protected eventSerializeObjectState (Inherited from Exception.)

Remarks

The Message contains more info about the cause of the exception.

See Also