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
Namespace: PostSharp.Patterns.ThreadingSystem.Exception
PostSharp.Patterns.Threading.ThreadingException
PostSharp.Patterns.Threading.DeadlockException
Assembly: PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 4.3.48.0 (4.3.48.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).) |

Name | Description | |
---|---|---|
![]() | QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |
