次の方法で共有


DelegatingJoinableTaskFactory.OnTransitioningToMainThread Method

Definition

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.

Applies to