JoinableTaskFactory.MainThreadAwaiter.OnCompleted Method
Called on the main thread to prepare it to execute the continuation.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Sub OnCompleted ( _
continuation As Action _
)
public void OnCompleted(
Action continuation
)
public:
virtual void OnCompleted(
Action^ continuation
) sealed
abstract OnCompleted :
continuation:Action -> unit
override OnCompleted :
continuation:Action -> unit
public final function OnCompleted(
continuation : Action
)
Parameters
continuation
Type: System.ActionThe action to invoke when the operation completes.
Implements
INotifyCompletion.OnCompleted(Action)
.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.