System.Threading.Tasks.Task.ConfigureAwait Method

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

Syntax

public System.Runtime.CompilerServices.ConfiguredTaskAwaitable 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