TaskExtensions.ConfigureAwait TaskExtensions.ConfigureAwait TaskExtensions.ConfigureAwait TaskExtensions.ConfigureAwait Method

Definition

Overloads

ConfigureAwait(IAsyncDisposable, Boolean) ConfigureAwait(IAsyncDisposable, Boolean) ConfigureAwait(IAsyncDisposable, Boolean) ConfigureAwait(IAsyncDisposable, Boolean)
ConfigureAwait<T>(IAsyncEnumerable<T>, Boolean) ConfigureAwait<T>(IAsyncEnumerable<T>, Boolean) ConfigureAwait<T>(IAsyncEnumerable<T>, Boolean) ConfigureAwait<T>(IAsyncEnumerable<T>, Boolean)

ConfigureAwait(IAsyncDisposable, Boolean) ConfigureAwait(IAsyncDisposable, Boolean) ConfigureAwait(IAsyncDisposable, Boolean) ConfigureAwait(IAsyncDisposable, Boolean)

public:
[System::Runtime::CompilerServices::Extension]
 static System::Runtime::CompilerServices::ConfiguredAsyncDisposable ConfigureAwait(IAsyncDisposable ^ source, bool continueOnCapturedContext);
public static System.Runtime.CompilerServices.ConfiguredAsyncDisposable ConfigureAwait (this IAsyncDisposable source, bool continueOnCapturedContext);
static member ConfigureAwait : IAsyncDisposable * bool -> System.Runtime.CompilerServices.ConfiguredAsyncDisposable
<Extension()>
Public Function ConfigureAwait (source As IAsyncDisposable, continueOnCapturedContext As Boolean) As ConfiguredAsyncDisposable

Parameters

continueOnCapturedContext
Boolean Boolean Boolean Boolean

Returns

ConfigureAwait<T>(IAsyncEnumerable<T>, Boolean) ConfigureAwait<T>(IAsyncEnumerable<T>, Boolean) ConfigureAwait<T>(IAsyncEnumerable<T>, Boolean) ConfigureAwait<T>(IAsyncEnumerable<T>, Boolean)

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::Runtime::CompilerServices::ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait(System::Collections::Generic::IAsyncEnumerable<T> ^ source, bool continueOnCapturedContext);
public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait<T> (this System.Collections.Generic.IAsyncEnumerable<T> source, bool continueOnCapturedContext);
static member ConfigureAwait : System.Collections.Generic.IAsyncEnumerable<'T> * bool -> System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<'T>
<Extension()>
Public Function ConfigureAwait(Of T) (source As IAsyncEnumerable(Of T), continueOnCapturedContext As Boolean) As ConfiguredCancelableAsyncEnumerable(Of T)

Type Parameters

T

Parameters

continueOnCapturedContext
Boolean Boolean Boolean Boolean

Returns

Applies to