This documentation is archived and is not being maintained.

Mutex.WaitOne Method

Visual Studio 2008

Blocks the current thread until the current Mutex receives a signal. For complete documentation, see the base class topic, WaitHandle.WaitOne().

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

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.

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().

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Compact Framework

Supported in: 3.5, 2.0, 1.0

XNA Framework

Supported in: 3.0, 2.0, 1.0
Show: