METHOD
Task.ConfigureAwait
Controls whether the await requests continuation on the captured scheduling context.
Formal Syntax & Structure
csharp syntaxcsharp
task.ConfigureAwait(bool continueOnCapturedContext)Working Example
Example Snippetcsharp
// Documentary fragment; see lesson for context and imports.await Task.CompletedTask.ConfigureAwait(false);