TplExtensions.NoThrowTaskAwaiter.OnCompleted Method
Schedules a delegate for execution at the conclusion of a task's execution.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Sub OnCompleted ( _
action As Action _
)
public void OnCompleted(
Action action
)
public:
virtual void OnCompleted(
Action^ action
) sealed
abstract OnCompleted :
action:Action -> unit
override OnCompleted :
action:Action -> unit
public final function OnCompleted(
action : Action
)
Parameters
action
Type: System.ActionThe delegate.
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.