JoinableTaskFactory::OnTransitionedToMainThread Method (JoinableTask^, Boolean)
Visual Studio 2015
Occurs whenever a joinable task has completed a transition to the main thread.
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
public protected: virtual void OnTransitionedToMainThread( JoinableTask^ joinableTask, bool canceled )
Parameters
- joinableTask
-
Type:
Microsoft.VisualStudio.Threading::JoinableTask^
The task whose request to transition to the main thread has completed.
- canceled
-
Type:
System::Boolean
true if the transition was cancelled before it was fulfilled, otherwise false.
This event is usually raised on the main thread, but can be raised on another thread when canceled is true.
Show: