次の方法で共有


AsyncBarrier.SignalAndWait Method

Definition

Signals that a participant is ready, and returns a Task that completes when all other participants have also signaled ready.

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

Returns

A Task, which will complete (or may already be completed) when the last participant calls this method.

Applies to