DelegatingJoinableTaskFactory.OnTransitioningToMainThread 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:
override void OnTransitioningToMainThread(Microsoft::VisualStudio::Threading::JoinableTask ^ joinableTask);
protected public:
override void OnTransitioningToMainThread(Microsoft::VisualStudio::Threading::JoinableTask ^ joinableTask);
override void OnTransitioningToMainThread(Microsoft::VisualStudio::Threading::JoinableTask const & joinableTask);
protected internal override void OnTransitioningToMainThread (Microsoft.VisualStudio.Threading.JoinableTask joinableTask);
override this.OnTransitioningToMainThread : Microsoft.VisualStudio.Threading.JoinableTask -> unit
Protected Friend Overrides 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.