CompoundFileSerializationException Class
Definition
- Assembly
- Bodu.IO.Compound.dll
- Package
- Bodu.IO.Compound 1.0.0
The exception thrown when a compound file cannot be authored or serialized - for example, when a storage contains a duplicate or invalid child name, the directory nesting is too deep, or a value cannot be represented in the container.
public sealed class CompoundFileSerializationException : CompoundFileException, ISerializable
- Inheritance
-
CompoundFileSerializationException
- Implements
- Inherited Members
- Extension Methods
Remarks
This exception reports authoring and write-time failures of the mutable object model and builder, as distinct from CompoundFileFormatException, which reports structural failures encountered while reading. It derives from CompoundFileException, the common base for all compound-file failures.
Constructors
CompoundFileSerializationException()
Initializes a new instance of the CompoundFileSerializationException class.
public CompoundFileSerializationException()
CompoundFileSerializationException(string)
Initializes a new instance of the CompoundFileSerializationException class with the specified message.
public CompoundFileSerializationException(string message)
Parameters
messagestringA message that describes the authoring or serialization failure.
CompoundFileSerializationException(string, Exception)
Initializes a new instance of the CompoundFileSerializationException class with the specified message and a reference to the underlying cause.
public CompoundFileSerializationException(string message, Exception innerException)
Parameters
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |