Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OdfEncryptedPackageException

Namespace OfficeIMO.OpenDocument
Assembly OfficeIMO.OpenDocument
Source revision a039964de4cc 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 System.String requiredposition: 0
public OdfEncryptedPackageException(String message, OdfEncryptionFailureReason reason, String? entryPath = null, Exception? innerException = null) #

Creates a classified encrypted-package exception.

Parameters

message System.String requiredposition: 0
reason OfficeIMO.OpenDocument.OdfEncryptionFailureReason requiredposition: 1
entryPath System.String? = null optionalposition: 2
innerException System.Exception? = null optionalposition: 3

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.