System.Threading.CountdownEvent.Wait Method

Blocks the current thread until the System.Threading.CountdownEvent is set.

Syntax

public void Wait ()

Remarks

The caller of this method blocks indefinitely until the current instance is set. The caller will return immediately if the event is currently in a set state.

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0