AwaitExtensions.ConfiguredTaskYieldAwaiter(Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.