EventWaitHandle.WaitOne Method

Blocks the current thread until the current EventWaitHandle receives a signal.

Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
<SecuritySafeCriticalAttribute> _
Public Overrides Function WaitOne As Boolean
[SecuritySafeCriticalAttribute]
public override bool WaitOne()

Return Value

Type: System.Boolean
true if the current instance receives a signal. If the current instance is never signaled, WaitOne never returns.

Remarks

Important noteImportant Note:

This member override applies only to the versions listed in "Version Information" later in this topic. For other versions and complete documentation, see the base class topic, WaitHandle.WaitOne().

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

EventWaitHandle Class

WaitOne Overload

System.Threading Namespace