Share via


AwaitExtensions.ConfiguredTaskYieldAwaitable(Boolean) Constructor

Definition

Initializes a new instance of the AwaitExtensions.ConfiguredTaskYieldAwaitable struct.

public:
 ConfiguredTaskYieldAwaitable(bool continueOnCapturedContext);
public ConfiguredTaskYieldAwaitable (bool continueOnCapturedContext);
new Microsoft.VisualStudio.Threading.AwaitExtensions.ConfiguredTaskYieldAwaitable : bool -> Microsoft.VisualStudio.Threading.AwaitExtensions.ConfiguredTaskYieldAwaitable
Public Sub New (continueOnCapturedContext As Boolean)

Parameters

continueOnCapturedContext
Boolean

A value indicating whether the continuation should run on the captured SynchronizationContext, if any.

Applies to