IVsDebugger.UnadviseDebugEventCallback Method

Used by a client to stop receiving notifications of debugger events. In general, use AdviseDebuggerEvents and UnadviseDebuggerEvents instead.

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

Syntax

'Declaration
Function UnadviseDebugEventCallback ( _
    punkDebuggerEvents As Object _
) As Integer
int UnadviseDebugEventCallback(
    Object punkDebuggerEvents
)
int UnadviseDebugEventCallback(
    [InAttribute] Object^ punkDebuggerEvents
)
abstract UnadviseDebugEventCallback : 
        punkDebuggerEvents:Object -> int 
function UnadviseDebugEventCallback(
    punkDebuggerEvents : Object
) : 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::UnadviseDebugEventCallback(
   [in]IUnknown *punkDebuggerEvents
);

.NET Framework Security

See Also

Reference

IVsDebugger Interface

Microsoft.VisualStudio.Shell.Interop Namespace