ConfiguredCancelableAsyncEnumerable<T> 構造体

定義

キャンセル可能なイテレーションと構成された awaits を有効にする待機可能な非同期列挙を提供します。

generic <typename T>
public value class ConfiguredCancelableAsyncEnumerable
public readonly struct ConfiguredCancelableAsyncEnumerable<T> where T : allows ref struct
public readonly struct ConfiguredCancelableAsyncEnumerable<T>
type ConfiguredCancelableAsyncEnumerable<'T> = struct
Public Structure ConfiguredCancelableAsyncEnumerable(Of T)

型パラメーター

T

列挙する値の型。

継承
ConfiguredCancelableAsyncEnumerable<T>

メソッド

名前 説明
ConfigureAwait(Boolean)

非同期イテレーションから返されたタスクに対する待機の実行方法を構成します。

GetAsyncEnumerator()

取り消し可能な反復処理を有効にし、awaits を構成するコレクションを非同期的に反復処理する列挙子を返します。

WithCancellation(CancellationToken)

反復処理時にCancellationTokenに渡すGetAsyncEnumerator(CancellationToken)を設定します。

適用対象