JoinableTask<T>::Join Method (CancellationToken)
Visual Studio 2015
Synchronously blocks the calling thread until the operation has completed. If the calling thread is the Main thread, deadlocks are mitigated.
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Parameters
- cancellationToken
-
Type:
System.Threading::CancellationToken
A cancellation token that exits this method before the task is completed.
Return Value
Type: TReturns a TaskAwaiter<TResult> that is the result of the asynchronous operation.
Show: