9 [__DynamicallyInvokable]
12 private int m_MutexIndex = -1;
14 private Mutex m_Mutex;
18 [__DynamicallyInvokable]
21 [__DynamicallyInvokable]
30 [__DynamicallyInvokable]
33 [__DynamicallyInvokable]
41 [__DynamicallyInvokable]
43 : base(
Environment.GetResourceString(
"Threading.AbandonedMutexException"))
45 SetErrorCode(-2146233043);
50 [__DynamicallyInvokable]
54 SetErrorCode(-2146233043);
60 [__DynamicallyInvokable]
62 : base(message, inner)
64 SetErrorCode(-2146233043);
70 [__DynamicallyInvokable]
72 : base(
Environment.GetResourceString(
"Threading.AbandonedMutexException"))
74 SetErrorCode(-2146233043);
75 SetupException(location, handle);
82 [__DynamicallyInvokable]
86 SetErrorCode(-2146233043);
87 SetupException(location, handle);
95 [__DynamicallyInvokable]
97 : base(message, inner)
99 SetErrorCode(-2146233043);
100 SetupException(location, handle);
103 private void SetupException(
int location,
WaitHandle handle)
105 m_MutexIndex = location;
108 m_Mutex = (handle as
Mutex);
116 : base(info, context)
Encapsulates operating system–specific objects that wait for exclusive access to shared resources.
AbandonedMutexException(string message, Exception inner)
Initializes a new instance of the T:System.Threading.AbandonedMutexException class with a specified e...
Serves as the base class for system exceptions namespace.
AbandonedMutexException(string message)
Initializes a new instance of the T:System.Threading.AbandonedMutexException class with a specified e...
A synchronization primitive that can also be used for interprocess synchronization.
Mutex Mutex
Gets the abandoned mutex that caused the exception, if known.
AbandonedMutexException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the T:System.Threading.AbandonedMutexException class with serialized da...
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Provides information about, and means to manipulate, the current environment and platform....
int MutexIndex
Gets the index of the abandoned mutex that caused the exception, if known.
The exception that is thrown when one thread acquires a T:System.Threading.Mutex object that another ...
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
AbandonedMutexException(string message, Exception inner, int location, WaitHandle handle)
Initializes a new instance of the T:System.Threading.AbandonedMutexException class with a specified e...
AbandonedMutexException(int location, WaitHandle handle)
Initializes a new instance of the T:System.Threading.AbandonedMutexException class with a specified i...
AbandonedMutexException()
Initializes a new instance of the T:System.Threading.AbandonedMutexException class with default value...
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Specifies that the class can be serialized.
AbandonedMutexException(string message, int location, WaitHandle handle)
Initializes a new instance of the T:System.Threading.AbandonedMutexException class with a specified e...