Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OdfEncryptedPackageException

OfficeIMO.OpenDocument

Namespace
OfficeIMO.OpenDocument
Assembly
OfficeIMO.OpenDocument
Source revision
be6c300e4ab1 with working tree changes
Base
NotSupportedException
Implements
ISerializable
Modifiers
sealed

Thrown when an encrypted ODF package cannot be processed safely.

Inheritance

  • NotSupportedException
  • OdfEncryptedPackageException

Constructors

OdfEncryptedPackageException 2 overloads
public OdfEncryptedPackageException(string message) #

Creates the exception.

Parameters

message string required
public OdfEncryptedPackageException(string message, OdfEncryptionFailureReason reason, string? entryPath = null, Exception? innerException = null) #

Creates a classified encrypted-package exception.

Parameters

message string required
reason OfficeIMO.OpenDocument.OdfEncryptionFailureReason required
entryPath string? = null optional
innerException System.Exception? = null optional

Properties

public OdfEncryptionFailureReason Reason { get; } #

Reason the encrypted package could not be processed.

public string? EntryPath { get; } #

Encrypted package entry associated with the failure, when known.