This topic has not yet been rated - Rate this topic

ManualResetEventSlim.Wait Method

May 02, 2013

Blocks the current thread until the current ManualResetEventSlim is set.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Wait() Blocks the current thread until the current ManualResetEventSlim is set.
Public method Wait(CancellationToken) Blocks the current thread until the current ManualResetEventSlim receives a signal, while observing a CancellationToken.
Public method Wait(Int32) Blocks the current thread until the current ManualResetEventSlim is set, using a 32-bit signed integer to measure the time interval.
Public method Wait(TimeSpan) Blocks the current thread until the current ManualResetEventSlim is set, using a TimeSpan to measure the time interval.
Public method Wait(Int32, CancellationToken) Blocks the current thread until the current ManualResetEventSlim is set, using a 32-bit signed integer to measure the time interval, while observing a CancellationToken.
Public method Wait(TimeSpan, CancellationToken) Blocks the current thread until the current ManualResetEventSlim is set, using a TimeSpan to measure the time interval, while observing a CancellationToken.
Top

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.