AwaitExtensions.ConfiguredTaskYieldAwaitable(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.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.