TplExtensions::NoThrowTaskAwaitable Constructor (Task^, Boolean)
Visual Studio 2015
Initializes a new instance of NoThrowTaskAwaitable.
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Parameters
- task
-
Type:
System.Threading.Tasks::Task^
The task.
- captureContext
-
Type:
System::Boolean
true if the continuation should be scheduled on the current sync context, otherwise false.
Show: