Task.ConfigureAwait(Boolean) Task.ConfigureAwait(Boolean) Task.ConfigureAwait(Boolean) Method

Definition

Configures an awaiter used to await this Task.

public:
 System::Runtime::CompilerServices::ConfiguredTaskAwaitable ConfigureAwait(bool continueOnCapturedContext);
public System.Runtime.CompilerServices.ConfiguredTaskAwaitable ConfigureAwait (bool continueOnCapturedContext);
Public Function ConfigureAwait (continueOnCapturedContext As Boolean) As ConfiguredTaskAwaitable
Parameters
continueOnCapturedContext
Boolean Boolean Boolean

true to attempt to marshal the continuation back to the original context captured; otherwise, false.

Returns

Applies to