# EmailDataInspectionOptions

Owner-level read limits and finite metadata samples for a local email-data inspection.

Class 

`OfficeIMO.Email.Data`

**Namespace**

`OfficeIMO.Email.Data`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[EmailDataInspectionOptions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Data/EmailDataInspectionOptions.cs#L9)

**Modifiers**

sealed

Owner-level read limits and finite metadata samples for a local email-data inspection.

## Inheritance

- object
- EmailDataInspectionOptions

## 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 [EmailDataInspector.Inspect](/api/email/officeimo-email-data-emaildatainspector/#method-inspect-string-officeimo-email-data-emaildatainspectionoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public EmailDataInspectionOptions(EmailDataOpenOptions? openOptions = null, int maxSamples = 64, int maxPreviewCharacters = 256, int maxHeadersInspected = 10000)` [#](#constructor-ctor-officeimo-email-data-emaildataopenoptions-int32-int32-int32)

[EmailDataInspectionOptions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Data/EmailDataInspectionOptions.cs#L9)

Creates a bounded report policy. An explicit open policy retains its own owner-specific limits.

Parameters

**openOptions OfficeIMO.Email.Data.EmailDataOpenOptions? = null optional**

**maxSamples int = 64 optional**

**maxPreviewCharacters int = 256 optional**

**maxHeadersInspected int = 10000 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 EmailDataOpenOptions OpenOptions { get; }` [#](#property-openoptions)

[EmailDataInspectionOptions.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Data/EmailDataInspectionOptions.cs#L32)

Policy applied before each existing owner opens the artifact.

`public int MaxSamples { get; }` [#](#property-maxsamples)

[EmailDataInspectionOptions.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Data/EmailDataInspectionOptions.cs#L34)

Maximum rows retained in each sampled metadata collection.

`public int MaxPreviewCharacters { get; }` [#](#property-maxpreviewcharacters)

[EmailDataInspectionOptions.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Data/EmailDataInspectionOptions.cs#L36)

Maximum UTF-16 units in each metadata preview, without splitting surrogate pairs.

`public int MaxHeadersInspected { get; }` [#](#property-maxheadersinspected)

[EmailDataInspectionOptions.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Data/EmailDataInspectionOptions.cs#L38)

Maximum envelope headers scanned for transport signature names.

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