Share via


JoinableTaskContextNode.RegisterOnHangDetected Method

Definition

Registers with the inner JoinableTaskContext to receive hang notifications.

protected:
 IDisposable ^ RegisterOnHangDetected();
protected IDisposable RegisterOnHangDetected ();
member this.RegisterOnHangDetected : unit -> IDisposable
Protected Function RegisterOnHangDetected () As IDisposable

Returns

A value to dispose of to cancel hang notifications.

Applies to