This documentation is archived and is not being maintained.
WaitHandle::WaitOne Method
Visual Studio 2008
Updated: July 2008
Blocks the current thread until the current WaitHandle receives a signal.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
WaitOne() | Blocks the current thread until the current wait handle receives a signal. |
|
WaitOne(Int32) | Blocks the current thread until the current wait handle receives a signal, using a 32-bit signed integer to specify the time interval. |
|
WaitOne(TimeSpan) | Blocks the current thread until the current instance receives a signal, using a TimeSpan to specify the time interval. |
|
WaitOne(Int32, Boolean) | Blocks the current thread until the current wait handle receives a signal, using a 32-bit signed integer to specify the time interval and specifying whether to exit the synchronization domain before the wait. |
|
WaitOne(TimeSpan, Boolean) | Blocks the current thread until the current instance receives a signal, using a TimeSpan to specify the time interval and specifying whether to exit the synchronization domain before the wait. |
Date | History | Reason |
|---|---|---|
July 2008 | Added new overloads: WaitOne(Int32) and WaitOne(TimeSpan). | .NET Framework 3.5 SP1 feature change. |
Show: