Share 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

'Declaration
Function UnadviseDebuggerEvents ( _
    dwCookie As UInteger _
) As Integer
int UnadviseDebuggerEvents(
    uint dwCookie
)
int UnadviseDebuggerEvents(
    [InAttribute] unsigned int dwCookie
)
abstract UnadviseDebuggerEvents : 
        dwCookie:uint32 -> int
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
);

.NET Framework Security

See Also

Reference

IVsDebugger Interface

Microsoft.VisualStudio.Shell.Interop Namespace