DelegatingJoinableTaskFactory::OnTransitionedToMainThread Method (JoinableTask^, Boolean)

 

Occurs whenever a joinable task has completed a transition to the main thread.

Namespace:   Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

public protected:
virtual void OnTransitionedToMainThread(
	JoinableTask^ joinableTask,
	bool canceled
) override

Parameters

joinableTask
Type: Microsoft.VisualStudio.Threading::JoinableTask^

The task whose request to transition to the main thread has completed.

canceled
Type: System::Boolean

A value indicating whether the transition was cancelled before it was fulfilled.

Return to top
Show: