ExcelBinaryWorkbookStreamNotFoundException Class
Definition
- Assembly
- Bodu.Formats.Excel.Binary.dll
- Package
- Bodu.Formats.Excel.Binary 1.0.0
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
messagestringA 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
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |