EmailStoreReaderOptions
OfficeIMO.Email.Store
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.
Returned or exposed by 4
- Property EmailDataOpenOptions.Store
- Property EmailStoreMergeSource.ReaderOptions
- Property EmailStoreReaderOptions.Default
- Property EmailStoreSalvageOptions.ReaderOptions
Accepted by parameters 8
- Constructor EmailDataOpenOptions.EmailDataOpenOptions
- Method EmailStoreConverter.ConvertMailbox
- Method EmailStoreConverter.ConvertToPst
- Constructor EmailStoreMergeSource.EmailStoreMergeSource
- Constructor EmailStoreReader.EmailStoreReader
- Constructor EmailStoreSalvageOptions.EmailStoreSalvageOptions
- Method EmailStoreSession.Open
- Method EmailStoreSession.OpenSnapshot
Constructors
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
- maxNodeCount int = 25000000
- maxBTreeDepth int = 32
- maxCachedBTreePages int = 512
- maxFolderCount int = 100000
- maxItemCount int = 1000000
- maxPropertiesPerItem int = 16384
- maxDecodedPropertyBytesPerItem long = 134217728
- maxAttachmentsPerItem int = 10000
- maxAttachmentBytes long = 536870912
- maxTotalAttachmentBytes long = 4294967296
- retainAttachmentContent bool = true
- pstPassword string? = null
- pstPasswordEncoding System.Text.Encoding? = null
- includeAssociatedItems bool = false
- includeOrphanedItems bool = false
- maxNestedMessageDepth int = 16
- maxArchiveEntries int = 500000
- maxArchiveEntryBytes long = 536870912
- maxArchiveDecodedBytes long = 8589934592
- maxXmlCharactersPerItem long = 67108864
- maxMessageBytes long = 268435456
- maxDirectoryDepth int = 64
- maxDirectoryFileCount int = 1000000
- maxDecodedTableBytes long = 8589934592
- maxDirectoryEntryCount int = 2000000
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
- maxNodeCount int
- maxBTreeDepth int
- maxCachedBTreePages int
- maxFolderCount int
- maxItemCount int
- maxPropertiesPerItem int
- maxDecodedPropertyBytesPerItem long
- maxAttachmentsPerItem int
- maxAttachmentBytes long
- maxTotalAttachmentBytes long
- retainAttachmentContent bool
- pstPassword string?
- pstPasswordEncoding System.Text.Encoding?
- includeAssociatedItems bool
- includeOrphanedItems bool
- maxNestedMessageDepth int
- maxArchiveEntries int
- maxArchiveEntryBytes long
- maxArchiveDecodedBytes long
- maxXmlCharactersPerItem long
- maxMessageBytes long
- maxDirectoryDepth int
- maxDirectoryFileCount int
- maxDecodedTableBytes long
Inherited Methods
Properties
public static EmailStoreReaderOptions Default { get; } #Default bounded options.
public int MaxNodeCount { get; } #Maximum NDB nodes and blocks visited.
public int MaxCachedBTreePages { get; } #Maximum PST/OST B-tree pages retained by the bounded random-access cache.
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.