ManualResetEventSlim.Wait Method

Include Protected Members
Include Inherited Members

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Overload List

  Name Description
Wait()()() Blocks the current thread until the current ManualResetEventSlim is set.
Wait(CancellationToken) Blocks the current thread until the current ManualResetEventSlim receives a signal, while observing a CancellationToken.
Wait(Int32) Blocks the current thread until the current ManualResetEventSlim is set, using a 32-bit signed integer to measure the time interval.
Wait(TimeSpan) Blocks the current thread until the current ManualResetEventSlim is set, using a TimeSpan to measure the time interval.
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.
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

See Also

Reference

ManualResetEventSlim Class

ManualResetEventSlim Members

System.Threading Namespace