JoinableTask<T>::JoinAsync Method (CancellationToken)
Visual Studio 2015
Joins any main thread affinity of the caller with the asynchronous operation. This is to avoid deadlocks in case the main thread ultimately synchronously blocks while waiting for the operation to complete.
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Parameters
- cancellationToken
- Type: System.Threading::CancellationToken
Show: