System.Threading.Tasks.Task<TResult>.ConfigureAwait Method

Configures an awaiter used to await this System.Threading.Tasks.Task`1.

Syntax

public System.Runtime.CompilerServices.ConfiguredTaskAwaitable<TResult> ConfigureAwait (bool continueOnCapturedContext)

Parameters

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

Returns

An object used to await this task.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Threading.Tasks
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0