Partager via


IVsDebugger.UnadviseDebuggerEvents Method

Used by a client to stop receiving notifications of debugger events. Requires the cookie returned by AdviseDebuggerEvents.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Déclaration
Function UnadviseDebuggerEvents ( _
    dwCookie As UInteger _
) As Integer
'Utilisation
Dim instance As IVsDebugger
Dim dwCookie As UInteger
Dim returnValue As Integer

returnValue = instance.UnadviseDebuggerEvents(dwCookie)
int UnadviseDebuggerEvents(
    uint dwCookie
)
int UnadviseDebuggerEvents(
    [InAttribute] unsigned int dwCookie
)
function UnadviseDebuggerEvents(
    dwCookie : uint
) : int

Parameters

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsDebugger::UnadviseDebuggerEvents(
   [in] VSCOOKIE dwCookie
);

Permissions

See Also

Reference

IVsDebugger Interface

IVsDebugger Members

Microsoft.VisualStudio.Shell.Interop Namespace