JoinableTaskContextNode.RegisterOnHangDetected Method

Registers with the inner JoinableTaskContext to receive hang notifications.

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Protected Function RegisterOnHangDetected As IDisposable
protected IDisposable RegisterOnHangDetected()
protected:
IDisposable^ RegisterOnHangDetected()
member RegisterOnHangDetected : unit -> IDisposable
protected function RegisterOnHangDetected() : IDisposable

Return Value

Type: System.IDisposable
An IDisposable to dispose of when you want to cancel hang notifications.

.NET Framework Security

See Also

Reference

JoinableTaskContextNode Class

Microsoft.VisualStudio.Threading Namespace