# EmailDataOpenOptions

Immutable owner-specific policies for EmailDataArtifact.Open.

Class 

`OfficeIMO.Email.Data`

**Namespace**

`OfficeIMO.Email.Data`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailDataOpenOptions.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenOptions.cs#L12)

**Modifiers**

sealed

Immutable owner-specific policies for [EmailDataArtifact.Open](/api/email/officeimo-email-data-emaildataartifact/).

## Inheritance

- object
- EmailDataOpenOptions

## Usage

Explore 4 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 2

- Property [EmailDataInspectionOptions.OpenOptions](/api/email/officeimo-email-data-emaildatainspectionoptions/#property-openoptions)
- Property [EmailDataOpenOptions.Default](/api/email/officeimo-email-data-emaildataopenoptions/#property-default)

### Accepted by parameters 2

- Method [EmailDataArtifact.Open](/api/email/officeimo-email-data-emaildataartifact/#method-open-string-officeimo-email-data-emaildataopenoptions-threading-cancellationtoken) parameter `options`
- Constructor [EmailDataInspectionOptions.EmailDataInspectionOptions](/api/email/officeimo-email-data-emaildatainspectionoptions/#constructor-ctor-officeimo-email-data-emaildataopenoptions-int32-int32-int32) parameter `openOptions`

Filter members 

Show inherited

## Constructors

`public EmailDataOpenOptions(EmailReaderOptions? email = null, ContentLineReaderOptions? contentLines = null, EmailStoreReaderOptions? store = null, OfflineAddressBookReaderOptions? addressBook = null, EmailDataArtifactKind? expectedKind = null, bool useStreamingEmailReader = false)` [#](#member-0c1bd2e603e766727b20f99a)

[EmailDataOpenOptions.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenOptions.cs#L12)

Creates a discovery policy without replacing any underlying owner's limits.

Parameters

**email OfficeIMO.Email.EmailReaderOptions? = null optional**

**contentLines OfficeIMO.Email.ContentLineReaderOptions? = null optional**

**store OfficeIMO.Email.Store.EmailStoreReaderOptions? = null optional**

**addressBook OfficeIMO.Email.AddressBook.OfflineAddressBookReaderOptions? = null optional**

**expectedKind OfficeIMO.Email.Data.EmailDataArtifactKind? = null optional**

**useStreamingEmailReader bool = false 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 static EmailDataOpenOptions Default { get; }` [#](#property-default)

[EmailDataOpenOptions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenOptions.cs#L9)

Default bounded discovery and reader policy.

`public EmailReaderOptions Email { get; }` [#](#property-email)

[EmailDataOpenOptions.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenOptions.cs#L30)

Policy used by the individual email artifact reader.

`public ContentLineReaderOptions ContentLines { get; }` [#](#property-contentlines)

[EmailDataOpenOptions.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenOptions.cs#L32)

Policy used by iCalendar and vCard readers.

`public EmailStoreReaderOptions Store { get; }` [#](#property-store)

[EmailDataOpenOptions.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenOptions.cs#L34)

Policy used by mailbox-store sessions.

`public OfflineAddressBookReaderOptions AddressBook { get; }` [#](#property-addressbook)

[EmailDataOpenOptions.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenOptions.cs#L36)

Policy used by OAB inspection and sessions.

`public EmailDataArtifactKind? ExpectedKind { get; }` [#](#property-expectedkind)

[EmailDataOpenOptions.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenOptions.cs#L38)

Optional explicit owner for ambiguous paths or extension-free content.

`public bool UseStreamingEmailReader { get; }` [#](#property-usestreamingemailreader)

[EmailDataOpenOptions.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Data/EmailDataOpenOptions.cs#L43)

Whether individual EML/MSG/OFT/TNEF payloads use file-backed streaming reads. The default full read preserves the existing protected-artifact pass-through contract.

<!-- PowerForge markdown artifact sha256:9A2662C0050D1981C26F9250A23D55AE9E9B64C5CAE3E74CAAC823F0A753E37F -->
