This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

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: 5.0.34.0 (5.0.34.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