共用方式為


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

Implements

INotifyCompletion.OnCompleted(Action)

.NET Framework Security

See Also

Reference

AwaitExtensions.TaskSchedulerAwaiter Structure

Microsoft.VisualStudio.Threading Namespace