JoinableTaskContext.HangDetails Class

Definition

A class to encapsulate the details of a possible hang. An instance of this JoinableTaskContext.HangDetails class will be passed to the JoinableTaskContextNode instances who registered the hang notifications.

public: ref class JoinableTaskContext::HangDetails
[Windows::Foundation::Metadata::WebHostHidden]
class JoinableTaskContext::HangDetails
public class JoinableTaskContext.HangDetails
type JoinableTaskContext.HangDetails = class
Public Class JoinableTaskContext.HangDetails
Inheritance
JoinableTaskContext.HangDetails

Constructors

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

Initializes a new instance of the JoinableTaskContext.HangDetails class.

Properties

EntryMethod

Gets the method that served as the entrypoint for the JoinableTask that now blocks a thread.

HangDuration

Gets the length of time this hang has lasted so far.

HangId

Gets a unique GUID identifying this particular hang. If the same hang is reported multiple times (with increasing duration values) the value of this property will remain constant.

NotificationCount

Gets the number of times this particular hang has been reported, including this one.

Applies to