Table of Contents

ExcelBinaryFormatException Class

Definition

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

The exception thrown when the content of a workbook stream does not conform to the BIFF record structure.

public sealed class ExcelBinaryFormatException : FormatException, ISerializable
Inheritance
ExcelBinaryFormatException
Implements
Inherited Members
Extension Methods

Remarks

Reports a structural failure of the BIFF record stream - a truncated record, an inconsistent length, trailing bytes, or a malformed shared string table - as opposed to a missing workbook stream or an unsupported BIFF version.

Constructors

ExcelBinaryFormatException()

Initializes a new instance of the ExcelBinaryFormatException class.

public ExcelBinaryFormatException()

ExcelBinaryFormatException(string)

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

public ExcelBinaryFormatException(string message)

Parameters

message string

A message that describes the structural failure.

ExcelBinaryFormatException(string, Exception)

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

public ExcelBinaryFormatException(string message, Exception innerException)

Parameters

message string

A message that describes the structural failure.

innerException Exception

The exception that is the cause of this exception.

Applies to

ProductVersions
.NET8, 10