CountdownEvent.Wait Method
.NET Framework 4.5
Blocks the current thread until the CountdownEvent is set.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Wait() | Blocks the current thread until the CountdownEvent is set. |
|
Wait(CancellationToken) | Blocks the current thread until the CountdownEvent is set, while observing a CancellationToken. |
|
Wait(Int32) | Blocks the current thread until the CountdownEvent is set, using a 32-bit signed integer to measure the timeout. |
|
Wait(TimeSpan) | Blocks the current thread until the CountdownEvent is set, using a TimeSpan to measure the timeout. |
|
Wait(Int32, CancellationToken) | Blocks the current thread until the CountdownEvent is set, using a 32-bit signed integer to measure the timeout, while observing a CancellationToken. |
|
Wait(TimeSpan, CancellationToken) | Blocks the current thread until the CountdownEvent is set, using a TimeSpan to measure the timeout, while observing a CancellationToken. |