# EmailStoreAsyncEnumerable<T>

Dependency-free async sequence that follows the C# await foreach pattern on every Store target framework.

Class 

`OfficeIMO.Email.Store`

**Namespace**

`OfficeIMO.Email.Store`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailStoreAsyncEnumerable.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Reading/EmailStoreAsyncEnumerable.cs#L20)

**Modifiers**

sealed

Dependency-free async sequence that follows the C# await foreach pattern on every Store target framework.

## Inheritance

- object
- EmailStoreAsyncEnumerable<T>

## 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.

### Returned or exposed by 1

- Method [EmailStoreSession.EnumerateItemsAsync](/api/email/officeimo-email-store-emailstoresession/#method-enumerateitemsasync-officeimo-email-store-emailstoreenumerationoptions-threading-cancellationtoken)

## Type Parameters

**T**

Element type.

Filter members 

Show inherited

## Methods

`public EmailStoreAsyncEnumerator<T?> GetAsyncEnumerator(CancellationToken cancellationToken = default)` [#](#method-getasyncenumerator-threading-cancellationtoken)

[EmailStoreAsyncEnumerable.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Reading/EmailStoreAsyncEnumerable.cs#L20)

Creates a single-use async enumerator. Do not use the owning Store session concurrently.

Parameters

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`EmailStoreAsyncEnumerator<T?>`

## 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?`

<!-- PowerForge markdown artifact sha256:8EEE6FDA3CEFD4687293F90673C710A10FFBEF0079199343D0D530522F373244 -->
