Class DeadlockException
Exception thrown by the DeadlockDetectionPolicy class when a deadlock is detected.
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public sealed class DeadlockException : ThreadingException
Constructors
Name | Description |
---|---|
DeadlockException() | 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) | Initializes a new instance of see cref="DeadlockException"/>. |
DeadlockException(String, Exception) | Initializes a new instance of see cref="DeadlockException"/>. |
Properties
Name | Description |
---|---|
DeadlockInfo | Gets an information about the deadlock. |
Methods
Name | Description |
---|---|
GetObjectData(SerializationInfo, StreamingContext) | When overridden in a derived class, sets the SerializationInfo with information about the exception. |