Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.