Table of Contents

PstFileError Enum

Definition

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

Categorizes the failure a PstFileException reports, so callers can distinguish a missing object from structural corruption without parsing messages.

public enum PstFileError
Extension Methods

Fields

None = 0

No category was recorded.

InvalidHeader = 1

The file header is malformed.

UnsupportedFormat = 2

The file uses a recognized but unsupported variant.

InvalidPage = 3

A B-tree page is malformed or fails validation.

InvalidBlock = 4

A block's geometry or trailer is invalid, or a read escapes the file.

InvalidDataTree = 5

A multi-block data tree is malformed or references a missing block.

InvalidSubnodeTree = 6

A subnode tree is malformed or references a missing subnode.

InvalidHeap = 7

A heap-on-node structure is malformed.

InvalidPropertyContext = 8

A property context is malformed.

InvalidTableContext = 9

A table context is malformed.

InvalidPropertyValue = 10

A property value reference does not resolve.

NodeNotFound = 11

The requested node does not exist.

PropertyNotFound = 12

The requested property does not exist.

LimitExceeded = 13

A structure's declared size or fan-out exceeds a resource limit the session was opened with (see MaxNodeDataLength and MaxDataTreeLeaves).

Applies to

ProductVersions
.NET8, 10