Partager via


DelegatingJoinableTaskFactory.OnTransitionedToMainThread Method

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)

Syntax

'Declaration
Protected Friend Overrides Sub OnTransitionedToMainThread ( _
    joinableTask As JoinableTask, _
    canceled As Boolean _
)
protected internal override void OnTransitionedToMainThread(
    JoinableTask joinableTask,
    bool canceled
)
protected public:
virtual void OnTransitionedToMainThread(
    JoinableTask^ joinableTask, 
    bool canceled
) override
abstract OnTransitionedToMainThread : 
        joinableTask:JoinableTask * 
        canceled:bool -> unit  
override OnTransitionedToMainThread : 
        joinableTask:JoinableTask * 
        canceled:bool -> unit
override function OnTransitionedToMainThread(
    joinableTask : JoinableTask, 
    canceled : boolean
)

Parameters

  • canceled
    Type: System.Boolean

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

.NET Framework Security

See Also

Reference

DelegatingJoinableTaskFactory Class

Microsoft.VisualStudio.Threading Namespace