This topic has not yet been rated - Rate this topic

AbandonedMutexException.Mutex Property

April 12, 2014

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

Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)
'Declaration
Public ReadOnly Property Mutex As Mutex

Property Value

Type: System.Threading.Mutex
A Mutex object that represents the abandoned mutex, or Nothing if the abandoned mutex could not be identified.

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

Windows Phone OS

Supported in: 8.1, 8.0

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.