System.Threading.AbandonedMutexException.Mutex Property

Gets the abandoned mutex that caused the exception, if known.

Syntax

public Mutex Mutex { get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the exception is thrown on a call to the erload:System.Threading.WaitHandle.WaitAny method, the System.Threading.Mutex returned is the abandoned mutex with the lowest index in the array of System.Threading.WaitHandle objects that was passed to erload:System.Threading.WaitHandle.WaitAny, or null if the abandoned mutex could not be identified. If the exception is thrown on a call to erload:System.Threading.WaitHandle.WaitOne or erload:System.Threading.WaitHandle.WaitAll, this property always returns null.

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0