Table of Contents

CompoundFileSerializationException Class

Definition

Namespace
Bodu.IO.Compound
Assembly
Bodu.IO.Compound.dll
Package
Bodu.IO.Compound 1.0.0
Source
CompoundFileSerializationException.cs

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

message string

A 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

message string

A message that describes the authoring or serialization failure.

innerException Exception

The exception that is the cause of this exception.

Applies to

ProductVersions
.NET8, 10