DeadlockException Class
Exception thrown by the DeadlockDetectionPolicy class when a deadlock is detected.
Inheritance Hierarchy
System.Object
  System.Exception
    PostSharp.Patterns.Threading.ThreadingException
      PostSharp.Patterns.Threading.DeadlockException

Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 4.3.31.0 (4.3.31.0)
Syntax
C#
[SerializableAttribute]
public sealed class DeadlockException : ThreadingException

The DeadlockException type exposes the following members.

Constructors
  NameDescription
Public methodDeadlockException()
Initializes a new instance of see cref="DeadlockException"/>.
Public methodDeadlockException(String)
Initializes a new instance of see cref="DeadlockException"/>.
Public methodDeadlockException(DeadlockInfo)
Initializes a new instance of DeadlockException and specifies the message and involved threads.
Public methodDeadlockException(String, Exception)
Initializes a new instance of see cref="DeadlockException"/>.
Top
Properties
  NameDescription
Public propertyDeadlockInfo
Gets an information about the deadlock.
Top
Methods
  NameDescription
Public methodGetObjectData
When overridden in a derived class, sets the SerializationInfo with information about the exception.
(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
See Also