Open sandboxFocus

Class DeadlockException

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

Inheritance
DeadlockException
Implements
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public sealed class DeadlockException : ThreadingException, ISerializable

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)