DeadlockException Class |
Exception thrown by the DeadlockDetectionPolicy class when a deadlock
is detected.
System.Object
System.Exception
PostSharp.Patterns.Threading.ThreadingException
PostSharp.Patterns.Threading.DeadlockException
System.Exception
PostSharp.Patterns.Threading.ThreadingException
PostSharp.Patterns.Threading.DeadlockException
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 6.5.21.0 (6.5.21.0)
C#
[SerializableAttribute] public sealed class DeadlockException : ThreadingException
The DeadlockException type exposes the following members.
Name | Description | |
---|---|---|
DeadlockException() |
Initializes a new instance of see cref="DeadlockException"/>.
| |
DeadlockException(String) |
Initializes a new instance of see cref="DeadlockException"/>.
| |
DeadlockException(DeadlockInfo) |
Initializes a new instance of DeadlockException and specifies the message and involved threads.
| |
DeadlockException(String, Exception) |
Initializes a new instance of see cref="DeadlockException"/>.
|
Name | Description | |
---|---|---|
DeadlockInfo |
Gets an information about the deadlock.
|
Name | Description | |
---|---|---|
GetObjectData | When overridden in a derived class, sets the SerializationInfo with information about the exception. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) |