System.Threading.AbandonedMutexException.MutexIndex Property

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

Syntax

public int MutexIndex { 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, this property returns the index of 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 –1 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 –1.

Requirements

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