Udostępnij za pośrednictwem


Mutex.WaitOne Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Namespace:  System.Threading
Assembly:  mscorlib.Extensions (in mscorlib.Extensions.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.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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