PstFileError Enum
Definition
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 = 0No category was recorded.
InvalidHeader = 1The file header is malformed.
UnsupportedFormat = 2The file uses a recognized but unsupported variant.
InvalidPage = 3A B-tree page is malformed or fails validation.
InvalidBlock = 4A block's geometry or trailer is invalid, or a read escapes the file.
InvalidDataTree = 5A multi-block data tree is malformed or references a missing block.
InvalidSubnodeTree = 6A subnode tree is malformed or references a missing subnode.
InvalidHeap = 7A heap-on-node structure is malformed.
InvalidPropertyContext = 8A property context is malformed.
InvalidTableContext = 9A table context is malformed.
InvalidPropertyValue = 10A property value reference does not resolve.
NodeNotFound = 11The requested node does not exist.
PropertyNotFound = 12The requested property does not exist.
LimitExceeded = 13A structure's declared size or fan-out exceeds a resource limit the session was opened with (see MaxNodeDataLength and MaxDataTreeLeaves).
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |