# EmailStoreMboxExportOptions

Selection and streaming policy for mbox export.

Class 

`OfficeIMO.Email.Store`

**Namespace**

`OfficeIMO.Email.Store`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailStoreMboxExportOptions.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Export/EmailStoreMboxExportOptions.cs#L16)

**Modifiers**

sealed

Selection and streaming policy for mbox export.

## Inheritance

- object
- EmailStoreMboxExportOptions

## Usage

Explore 1 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 1

- Method [EmailStoreSession.ExportToMbox](/api/email/officeimo-email-store-emailstoresession/#method-exporttombox-string-officeimo-email-store-emailstoremboxexportoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

EmailStoreMboxExportOptions 2 overloads

`public EmailStoreMboxExportOptions(string? folderId = null, bool includeDescendants = false, bool includeAssociatedItems = false, bool includeOrphanedItems = false, bool overwriteExisting = false, bool continueOnError = true, int maxItems = 100000, EmailMailboxWriterOptions? writerOptions = null)` [#](#constructor-ctor-string-boolean-boolean-boolean-boolean-boolean-int32-officeimo-email-emailmailboxwriteroptions)

[EmailStoreMboxExportOptions.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Export/EmailStoreMboxExportOptions.cs#L16)

Creates mbox export options.

Parameters

**folderId string? = null optional**

**includeDescendants bool = false optional**

**includeAssociatedItems bool = false optional**

**includeOrphanedItems bool = false optional**

**overwriteExisting bool = false optional**

**continueOnError bool = true optional**

**maxItems int = 100000 optional**

**writerOptions OfficeIMO.Email.EmailMailboxWriterOptions? = null optional**

`public EmailStoreMboxExportOptions(EmailStoreMboxExportFidelityPolicy fidelityPolicy, string? folderId = null, bool includeDescendants = false, bool includeAssociatedItems = false, bool includeOrphanedItems = false, bool overwriteExisting = false, bool continueOnError = true, int maxItems = 100000, EmailMailboxWriterOptions? writerOptions = null)` [#](#constructor-ctor-officeimo-email-store-emailstoremboxexportfidelitypolicy-string-boolean-boolean-boolean-boolean-boolean-int32-officeimo-email-emailmailboxwriteroptions)

[EmailStoreMboxExportOptions.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Export/EmailStoreMboxExportOptions.cs#L48)

Creates mbox export options with an explicit pre-commit fidelity policy.

Parameters

**fidelityPolicy OfficeIMO.Email.Store.EmailStoreMboxExportFidelityPolicy required**

**folderId string? = null optional**

**includeDescendants bool = false optional**

**includeAssociatedItems bool = false optional**

**includeOrphanedItems bool = false optional**

**overwriteExisting bool = false optional**

**continueOnError bool = true optional**

**maxItems int = 100000 optional**

**writerOptions OfficeIMO.Email.EmailMailboxWriterOptions? = null optional**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string? FolderId { get; }` [#](#property-folderid)

[EmailStoreMboxExportOptions.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Export/EmailStoreMboxExportOptions.cs#L57)

Optional source folder identifier. Null exports every folder.

`public bool IncludeDescendants { get; }` [#](#property-includedescendants)

[EmailStoreMboxExportOptions.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Export/EmailStoreMboxExportOptions.cs#L60)

Whether descendants of [EmailStoreMboxExportOptions.FolderId](/api/email/officeimo-email-store-emailstoremboxexportoptions/) are included.

`public bool IncludeAssociatedItems { get; }` [#](#property-includeassociateditems)

[EmailStoreMboxExportOptions.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Export/EmailStoreMboxExportOptions.cs#L63)

Whether folder-associated information items are exported.

`public bool IncludeOrphanedItems { get; }` [#](#property-includeorphaneditems)

[EmailStoreMboxExportOptions.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Export/EmailStoreMboxExportOptions.cs#L66)

Whether recoverable items absent from contents tables are exported.

`public bool OverwriteExisting { get; }` [#](#property-overwriteexisting)

[EmailStoreMboxExportOptions.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Export/EmailStoreMboxExportOptions.cs#L69)

Whether an existing destination may be atomically replaced.

`public bool ContinueOnError { get; }` [#](#property-continueonerror)

[EmailStoreMboxExportOptions.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Export/EmailStoreMboxExportOptions.cs#L72)

Whether later items are attempted after a read or conversion failure.

`public int MaxItems { get; }` [#](#property-maxitems)

[EmailStoreMboxExportOptions.cs:75](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Export/EmailStoreMboxExportOptions.cs#L75)

Maximum item references attempted.

`public EmailMailboxWriterOptions WriterOptions { get; }` [#](#property-writeroptions)

[EmailStoreMboxExportOptions.cs:78](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Export/EmailStoreMboxExportOptions.cs#L78)

Underlying mbox variant and OfficeIMO.Email message writer policy.

`public EmailStoreMboxExportFidelityPolicy FidelityPolicy { get; }` [#](#property-fidelitypolicy)

[EmailStoreMboxExportOptions.cs:81](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Export/EmailStoreMboxExportOptions.cs#L81)

Acceptance policy checked against typed fidelity diagnostics before the staged mailbox is committed.

<!-- PowerForge markdown artifact sha256:CFAF30AF266F236A135EA8A09AF9FE49EAC484B9D64BE99FF64F14713C152905 -->
