JoinableTaskFactory.OnTransitioningToMainThread(JoinableTask) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raised when a joinable task has requested a transition to the main thread.
protected public:
virtual void OnTransitioningToMainThread(Microsoft::VisualStudio::Threading::JoinableTask ^ joinableTask);
protected public:
virtual void OnTransitioningToMainThread(Microsoft::VisualStudio::Threading::JoinableTask ^ joinableTask);
virtual void OnTransitioningToMainThread(Microsoft::VisualStudio::Threading::JoinableTask const & joinableTask);
protected internal virtual void OnTransitioningToMainThread (Microsoft.VisualStudio.Threading.JoinableTask joinableTask);
abstract member OnTransitioningToMainThread : Microsoft.VisualStudio.Threading.JoinableTask -> unit
override this.OnTransitioningToMainThread : Microsoft.VisualStudio.Threading.JoinableTask -> unit
Protected Friend Overridable Sub OnTransitioningToMainThread (joinableTask As JoinableTask)
Parameters
- joinableTask
- JoinableTask
The task requesting the transition to the main thread.
Remarks
This event may be raised on any thread, including the main thread.