# EmailStoreRecoveryExportOptions

Discovery, preservation, and failure policy for recoverable-index item export.

Class 

`OfficeIMO.Email.Store`

**Namespace**

`OfficeIMO.Email.Store`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`105ae88c45f6` with working tree changes

**Source**

[EmailStoreRecoveryExportOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryExportOptions.cs#L8)

**Modifiers**

sealed

Discovery, preservation, and failure policy for recoverable-index item export.

## Inheritance

- object
- EmailStoreRecoveryExportOptions

## 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.ExportRecoverableItemsToDirectory](/api/email/officeimo-email-store-emailstoresession/#method-exportrecoverableitemstodirectory-string-officeimo-email-store-emailstorerecoveryexportoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public EmailStoreRecoveryExportOptions(EmailStoreRecoveryOptions? discoveryOptions = null, EmailFileFormat format = OutlookMsg, bool preserveFolderHierarchy = true, bool overwriteExisting = false, bool continueOnItemError = true, bool writeManifest = true, EmailWriterOptions? writerOptions = null)` [#](#constructor-ctor-officeimo-email-store-emailstorerecoveryoptions-officeimo-email-emailfileformat-boolean-boolean-boolean-boolean-officeimo-email-emailwriteroptions)

[EmailStoreRecoveryExportOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryExportOptions.cs#L8)

Creates recovery-export options.

Parameters

**discoveryOptions OfficeIMO.Email.Store.EmailStoreRecoveryOptions? = null optional**

**format OfficeIMO.Email.EmailFileFormat = OutlookMsg optional**

**preserveFolderHierarchy bool = true optional**

**overwriteExisting bool = false optional**

**continueOnItemError bool = true optional**

**writeManifest bool = true optional**

**writerOptions OfficeIMO.Email.EmailWriterOptions? = 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 EmailStoreRecoveryOptions DiscoveryOptions { get; }` [#](#property-discoveryoptions)

[EmailStoreRecoveryExportOptions.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryExportOptions.cs#L31)

Bounds and folder scope used to discover indexed orphans.

`public EmailFileFormat Format { get; }` [#](#property-format)

[EmailStoreRecoveryExportOptions.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryExportOptions.cs#L33)

Per-item preservation format. MSG is the default to retain Outlook/MAPI semantics.

`public bool PreserveFolderHierarchy { get; }` [#](#property-preservefolderhierarchy)

[EmailStoreRecoveryExportOptions.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryExportOptions.cs#L35)

Whether original folder evidence is represented in destination directories.

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

[EmailStoreRecoveryExportOptions.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryExportOptions.cs#L37)

Whether an existing artifact or manifest may be replaced.

`public bool ContinueOnItemError { get; }` [#](#property-continueonitemerror)

[EmailStoreRecoveryExportOptions.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryExportOptions.cs#L39)

Whether isolated unreadable items are diagnosed and skipped.

`public bool WriteManifest { get; }` [#](#property-writemanifest)

[EmailStoreRecoveryExportOptions.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryExportOptions.cs#L41)

Whether a recovery manifest with source folder and item evidence is written.

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

[EmailStoreRecoveryExportOptions.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Email/Store/Recovery/EmailStoreRecoveryExportOptions.cs#L43)

Underlying item writer bounds and conversion policy.

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