NamedSemaphoreWaitOne Method

Overload List

WaitOne Blocks the current thread until the current NamedSemaphore receives a signal.
WaitOne(Int32) Blocks the current thread until the current instance receives a signal, using a 32-bit signed integer to specify the time interval in milliseconds.
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 NamedSemaphore 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.

See Also