ConfiguredCancelableAsyncEnumerable<T>.ConfigureAwait(Boolean) メソッド

定義

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

public:
 System::Runtime::CompilerServices::ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait(bool continueOnCapturedContext);
public System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait (bool continueOnCapturedContext);
member this.ConfigureAwait : bool -> System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<'T>
Public Function ConfigureAwait (continueOnCapturedContext As Boolean) As ConfiguredCancelableAsyncEnumerable(Of T)

パラメーター

continueOnCapturedContext
Boolean

キャプチャして現在のコンテキストにマーシャリングするには、true。それ以外の場合は false

戻り値

構成された列挙可能。

注釈

これにより、このイテレーションで によって設定された ConfigureAwait(Boolean) 以前の値が置き換えられます。

適用対象