Table of Contents

ExcelBinaryWorkbookStreamNotFoundException Class

Definition

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

The exception thrown when a compound file does not contain a workbook stream (named Workbook for BIFF8 or Book for older BIFF versions).

public sealed class ExcelBinaryWorkbookStreamNotFoundException : KeyNotFoundException, ISerializable
Inheritance
ExcelBinaryWorkbookStreamNotFoundException
Implements
Inherited Members
Extension Methods

Remarks

A compound file may be a valid OLE2 container yet not be a spreadsheet (for example, a Word document); in that case the expected workbook stream is absent and this exception is raised.

Constructors

ExcelBinaryWorkbookStreamNotFoundException()

Initializes a new instance of the ExcelBinaryWorkbookStreamNotFoundException class.

public ExcelBinaryWorkbookStreamNotFoundException()

ExcelBinaryWorkbookStreamNotFoundException(string)

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

public ExcelBinaryWorkbookStreamNotFoundException(string message)

Parameters

message string

A message that describes the lookup failure.

ExcelBinaryWorkbookStreamNotFoundException(string, Exception)

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

public ExcelBinaryWorkbookStreamNotFoundException(string message, Exception innerException)

Parameters

message string

A message that describes the lookup failure.

innerException Exception

The exception that is the cause of this exception.

Applies to

ProductVersions
.NET8, 10