PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingDeadlock­Exception
Open sandboxFocus

DeadlockException Class

Exception thrown by the DeadlockDetectionPolicy class when a deadlock is detected.

Inheritance
DeadlockException
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)