Compartir a través de


DelegatingJoinableTaskFactory.OnTransitioningToMainThread Method

Occurs when a joinable task has requested a transition to the main thread.

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

Syntax

'Declaration
Protected Friend Overrides Sub OnTransitioningToMainThread ( _
    joinableTask As JoinableTask _
)
protected internal override void OnTransitioningToMainThread(
    JoinableTask joinableTask
)
protected public:
virtual void OnTransitioningToMainThread(
    JoinableTask^ joinableTask
) override
abstract OnTransitioningToMainThread : 
        joinableTask:JoinableTask -> unit  
override OnTransitioningToMainThread : 
        joinableTask:JoinableTask -> unit
override function OnTransitioningToMainThread(
    joinableTask : JoinableTask
)

Parameters

Remarks

This event may be raised on any thread, including the main thread.

.NET Framework Security

See Also

Reference

DelegatingJoinableTaskFactory Class

Microsoft.VisualStudio.Threading Namespace