Table of Contents

ExcelBinaryEncryptedWorkbookException Class

Definition

Namespace
Bodu.Formats.Excel
Assembly
Bodu.Formats.Excel.Binary.dll
Package
Bodu.Formats.Excel.Binary 1.0.0
Source
ExcelBinaryEncryptedWorkbookException.cs

The exception thrown when a workbook is encrypted and therefore cannot be read by this reader.

public sealed class ExcelBinaryEncryptedWorkbookException : NotSupportedException, ISerializable
Inheritance
ExcelBinaryEncryptedWorkbookException
Implements
Inherited Members
Extension Methods

Remarks

The presence of a file-pass record indicates the workbook's contents are protected with a password. This reader does not decrypt workbooks; it reports the condition through this exception rather than returning corrupt values.

Constructors

ExcelBinaryEncryptedWorkbookException()

Initializes a new instance of the ExcelBinaryEncryptedWorkbookException class.

public ExcelBinaryEncryptedWorkbookException()

ExcelBinaryEncryptedWorkbookException(string)

Initializes a new instance of the ExcelBinaryEncryptedWorkbookException class with the specified message.

public ExcelBinaryEncryptedWorkbookException(string message)

Parameters

message string

A message that describes the encryption condition.

ExcelBinaryEncryptedWorkbookException(string, Exception)

Initializes a new instance of the ExcelBinaryEncryptedWorkbookException class with the specified message and a reference to the underlying cause.

public ExcelBinaryEncryptedWorkbookException(string message, Exception innerException)

Parameters

message string

A message that describes the encryption condition.

innerException Exception

The exception that is the cause of this exception.

Applies to

ProductVersions
.NET8, 10