Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EmailStoreReaderOptions

OfficeIMO.Email.Store

Namespace
OfficeIMO.Email.Store
Assembly
OfficeIMO.Email
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Safety and materialization limits for email-store readers.

Inheritance

  • object
  • EmailStoreReaderOptions

Usage

Explore 12 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 8

Constructors

EmailStoreReaderOptions 2 overloads
public EmailStoreReaderOptions(long maxInputBytes = 1099511627776, int maxNodeCount = 25000000, int maxBTreeDepth = 32, int maxCachedBTreePages = 512, int maxFolderCount = 100000, int maxItemCount = 1000000, int maxPropertiesPerItem = 16384, long maxDecodedPropertyBytesPerItem = 134217728, int maxAttachmentsPerItem = 10000, long maxAttachmentBytes = 536870912, long maxTotalAttachmentBytes = 4294967296, bool retainAttachmentContent = true, string? pstPassword = null, Encoding? pstPasswordEncoding = null, bool includeAssociatedItems = false, bool includeOrphanedItems = false, int maxNestedMessageDepth = 16, int maxArchiveEntries = 500000, long maxArchiveEntryBytes = 536870912, long maxArchiveDecodedBytes = 8589934592, long maxXmlCharactersPerItem = 67108864, long maxMessageBytes = 268435456, int maxDirectoryDepth = 64, int maxDirectoryFileCount = 1000000, long maxDecodedTableBytes = 8589934592, int maxDirectoryEntryCount = 2000000) #

Creates bounded reader options.

Parameters

maxInputBytes long = 1099511627776 optional
maxNodeCount int = 25000000 optional
maxBTreeDepth int = 32 optional
maxCachedBTreePages int = 512 optional
maxFolderCount int = 100000 optional
maxItemCount int = 1000000 optional
maxPropertiesPerItem int = 16384 optional
maxDecodedPropertyBytesPerItem long = 134217728 optional
maxAttachmentsPerItem int = 10000 optional
maxAttachmentBytes long = 536870912 optional
maxTotalAttachmentBytes long = 4294967296 optional
retainAttachmentContent bool = true optional
pstPassword string? = null optional
pstPasswordEncoding System.Text.Encoding? = null optional
includeAssociatedItems bool = false optional
includeOrphanedItems bool = false optional
maxNestedMessageDepth int = 16 optional
maxArchiveEntries int = 500000 optional
maxArchiveEntryBytes long = 536870912 optional
maxArchiveDecodedBytes long = 8589934592 optional
maxXmlCharactersPerItem long = 67108864 optional
maxMessageBytes long = 268435456 optional
maxDirectoryDepth int = 64 optional
maxDirectoryFileCount int = 1000000 optional
maxDecodedTableBytes long = 8589934592 optional
maxDirectoryEntryCount int = 2000000 optional
public EmailStoreReaderOptions(long maxInputBytes, int maxNodeCount, int maxBTreeDepth, int maxCachedBTreePages, int maxFolderCount, int maxItemCount, int maxPropertiesPerItem, long maxDecodedPropertyBytesPerItem, int maxAttachmentsPerItem, long maxAttachmentBytes, long maxTotalAttachmentBytes, bool retainAttachmentContent, string? pstPassword, Encoding? pstPasswordEncoding, bool includeAssociatedItems, bool includeOrphanedItems, int maxNestedMessageDepth, int maxArchiveEntries, long maxArchiveEntryBytes, long maxArchiveDecodedBytes, long maxXmlCharactersPerItem, long maxMessageBytes, int maxDirectoryDepth, int maxDirectoryFileCount, long maxDecodedTableBytes) #

Creates options using the original constructor contract with the default directory-entry bound.

Parameters

maxInputBytes long required
maxNodeCount int required
maxBTreeDepth int required
maxCachedBTreePages int required
maxFolderCount int required
maxItemCount int required
maxPropertiesPerItem int required
maxDecodedPropertyBytesPerItem long required
maxAttachmentsPerItem int required
maxAttachmentBytes long required
maxTotalAttachmentBytes long required
retainAttachmentContent bool required
pstPassword string? required
pstPasswordEncoding System.Text.Encoding? required
includeAssociatedItems bool required
includeOrphanedItems bool required
maxNestedMessageDepth int required
maxArchiveEntries int required
maxArchiveEntryBytes long required
maxArchiveDecodedBytes long required
maxXmlCharactersPerItem long required
maxMessageBytes long required
maxDirectoryDepth int required
maxDirectoryFileCount int required
maxDecodedTableBytes long required

Properties

public static EmailStoreReaderOptions Default { get; } #

Default bounded options.

public long MaxInputBytes { get; } #

Maximum seekable source length.

public int MaxNodeCount { get; } #

Maximum NDB nodes and blocks visited.

public int MaxBTreeDepth { get; } #

Maximum tree traversal depth.

public int MaxCachedBTreePages { get; } #

Maximum PST/OST B-tree pages retained by the bounded random-access cache.

public int MaxFolderCount { get; } #

Maximum folders materialized.

public int MaxItemCount { get; } #

Maximum items materialized.

public int MaxPropertiesPerItem { get; } #

Maximum MAPI properties decoded per item.

public long MaxDecodedPropertyBytesPerItem { get; } #

Maximum decoded property bytes per item.

public int MaxAttachmentsPerItem { get; } #

Maximum attachments per item.

public long MaxAttachmentBytes { get; } #

Maximum decoded bytes in one attachment.

public long MaxTotalAttachmentBytes { get; } #

Maximum decoded attachment bytes across the read.

public bool RetainAttachmentContent { get; } #

Whether attachment payloads are retained in memory.

public string? PstPassword { get; } #

Password to validate when PidTagPstPassword is nonzero. The value is never logged or retained by results.

public Encoding PstPasswordEncoding { get; } #

Byte encoding used for the legacy PST password checksum. Defaults to ASCII.

public bool IncludeAssociatedItems { get; } #

Whether folder-associated information items are materialized separately from visible items.

public bool IncludeOrphanedItems { get; } #

Whether NBT item nodes absent from folder contents tables are recovered using their parent links.

public int MaxNestedMessageDepth { get; } #

Maximum embedded-message recursion depth. Zero preserves the attachment without projecting its item.

public int MaxArchiveEntries { get; } #

Maximum entries accepted from a compressed email-store archive.

public long MaxArchiveEntryBytes { get; } #

Maximum decoded size declared by one compressed archive entry.

public long MaxArchiveDecodedBytes { get; } #

Maximum total decoded size declared by all compressed archive entries.

public long MaxXmlCharactersPerItem { get; } #

Maximum XML characters parsed from one archive item.

public long MaxMessageBytes { get; } #

Maximum RFC 5322/MIME message bytes accepted from one store item.

public int MaxDirectoryDepth { get; } #

Maximum directory depth traversed by mailbox-directory sessions.

public int MaxDirectoryFileCount { get; } #

Maximum message and identified Apple attachment-storage files indexed by one mailbox-directory session.

public long MaxDecodedTableBytes { get; } #

Maximum decoded bytes traversed from one PST/OST table data tree.

public int MaxDirectoryEntryCount { get; } #

Maximum filesystem entries visited, including directories, sidecars and unrelated files.