This documentation is archived and is not being maintained.

IVsDebugger.AdviseDebuggerEvents Method

Used by a client to get notification of debugger events.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int AdviseDebuggerEvents (
	[InAttribute] IVsDebuggerEvents pSink,
	out uint pdwCookie
)
int AdviseDebuggerEvents (
	/** @attribute InAttribute() */ IVsDebuggerEvents pSink, 
	/** @attribute OutAttribute() */ /** @ref */ UInt32 pdwCookie
)
JScript does not support passing value-type arguments by reference.

Parameters

pSink

[in] Pointer to a IVsDebuggerEvents interface to receive event notices.

pdwCookie

[out] Cookie returned to identify this particular sink interface. Client needs to save the cookie and use it in the call to UnadviseDebuggerEvents.

Return Value

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

COM Signature

From vsshell.idl:

HRESULT IVsDebugger::AdviseDebuggerEvents(
   [in] IVsDebuggerEvents *psink,
   [out] VSCOOKIE *pdwCookie
);
Show: