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
punkDebuggerEvents
Type: System.Object[in] Pointer to the IUnknown interface of an object that also implements IVsDebuggerEvents.
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
- 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.