PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / Deadlock­Info Class / Deadlock­Info Constructor

DeadlockInfo Constructor

Initializes the object.

Namespace:  PostSharp.Patterns.Threading
Assembly:  PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public DeadlockInfo(
	string description,
	IList<DeadlockedThreadInfo> deadlockedThreads
)

Parameters

description
Type: System.String
Textual description of the detected deadlock.
deadlockedThreads
Type: System.Collections.Generic.IList<DeadlockedThreadInfo>
List of objects describing each thread in the deadlock.
See Also