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
joinableTask
Type: Microsoft.VisualStudio.Threading.JoinableTaskThe task whose request to transition to the main thread has completed.
canceled
Type: System.BooleanA value indicating whether the transition was cancelled before it was fulfilled.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.