共用方式為


AsyncCountdownEvent.SignalAndWaitAsync Method

Definition

Decrements the counter by one and returns an awaitable that executes the continuation when the countdown reaches zero.

public:
 System::Threading::Tasks::Task ^ SignalAndWaitAsync();
public System.Threading.Tasks.Task SignalAndWaitAsync ();
member this.SignalAndWaitAsync : unit -> System.Threading.Tasks.Task
Public Function SignalAndWaitAsync () As Task

Returns

An awaitable.

Applies to