Table of Contents

PstFileFormatException Class

Definition

Namespace
Bodu.IO.Pst
Assembly
Bodu.IO.Pst.dll
Package
Bodu.IO.Pst 0.7.1
Source
PstFileFormatException.cs

Represents an error raised when a PST file's structure is malformed or fails validation.

public sealed class PstFileFormatException : PstFileException, ISerializable
Inheritance
PstFileFormatException
Implements
Inherited Members
Extension Methods

Constructors

PstFileFormatException()

Initializes a new instance of the PstFileFormatException class.

public PstFileFormatException()

PstFileFormatException(string?)

Initializes a new instance of the PstFileFormatException class with a message.

public PstFileFormatException(string? message)

Parameters

message string

The message that describes the error.

PstFileFormatException(string?, PstFileError)

Initializes a new instance of the PstFileFormatException class with a message and an error category.

public PstFileFormatException(string? message, PstFileError error)

Parameters

message string

The message that describes the error.

error PstFileError

The error category.

PstFileFormatException(string?, PstFileError, Exception?)

Initializes a new instance of the PstFileFormatException class with a message, an error category, and the exception that caused it.

public PstFileFormatException(string? message, PstFileError error, Exception? innerException)

Parameters

message string

The message that describes the error.

error PstFileError

The category of container defect the exception reports.

innerException Exception

The exception that is the cause of the current exception.

PstFileFormatException(string?, Exception?)

Initializes a new instance of the PstFileFormatException class with a message and an inner exception.

public PstFileFormatException(string? message, Exception? innerException)

Parameters

message string

The message that describes the error.

innerException Exception

The exception that caused this error.

Applies to

ProductVersions
.NET8, 10