Share via


JoinableTaskContext.HangDetails(TimeSpan, Int32, Guid, MethodInfo) Constructor

Definition

Initializes a new instance of the JoinableTaskContext.HangDetails class.

public:
 HangDetails(TimeSpan hangDuration, int notificationCount, Guid hangId, System::Reflection::MethodInfo ^ entryMethod);
public HangDetails (TimeSpan hangDuration, int notificationCount, Guid hangId, System.Reflection.MethodInfo entryMethod);
public HangDetails (TimeSpan hangDuration, int notificationCount, Guid hangId, System.Reflection.MethodInfo? entryMethod);
new Microsoft.VisualStudio.Threading.JoinableTaskContext.HangDetails : TimeSpan * int * Guid * System.Reflection.MethodInfo -> Microsoft.VisualStudio.Threading.JoinableTaskContext.HangDetails
Public Sub New (hangDuration As TimeSpan, notificationCount As Integer, hangId As Guid, entryMethod As MethodInfo)

Parameters

hangDuration
TimeSpan

The duration of the current hang.

notificationCount
Int32

The number of times this hang has been reported, including this one.

hangId
Guid

A random GUID that uniquely identifies this particular hang.

entryMethod
MethodInfo

The method that served as the entrypoint for the JoinableTask.

Applies to