Condividi tramite


AwaitExtensions.ConfiguredTaskYieldAwaiter(Boolean) Constructor

Definition

Initializes a new instance of the AwaitExtensions.ConfiguredTaskYieldAwaiter struct.

public:
 ConfiguredTaskYieldAwaiter(bool continueOnCapturedContext);
public ConfiguredTaskYieldAwaiter (bool continueOnCapturedContext);
new Microsoft.VisualStudio.Threading.AwaitExtensions.ConfiguredTaskYieldAwaiter : bool -> Microsoft.VisualStudio.Threading.AwaitExtensions.ConfiguredTaskYieldAwaiter
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