AwaitExtensions.TaskSchedulerAwaiter.OnCompleted Method
Schedules a continuation to execute using the specified task scheduler.
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.