IVsDebugger.AdviseDebuggerEvents(IVsDebuggerEvents, UInt32) Método

Definição

Usado por um cliente para obter a notificação de eventos do depurador.

public:
 int AdviseDebuggerEvents(Microsoft::VisualStudio::Shell::Interop::IVsDebuggerEvents ^ pSink, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
int AdviseDebuggerEvents(Microsoft::VisualStudio::Shell::Interop::IVsDebuggerEvents const & pSink, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public int AdviseDebuggerEvents (Microsoft.VisualStudio.Shell.Interop.IVsDebuggerEvents pSink, out uint pdwCookie);
abstract member AdviseDebuggerEvents : Microsoft.VisualStudio.Shell.Interop.IVsDebuggerEvents * uint32 -> int
Public Function AdviseDebuggerEvents (pSink As IVsDebuggerEvents, ByRef pdwCookie As UInteger) As Integer

Parâmetros

pSink
IVsDebuggerEvents

no Ponteiro para uma IVsDebuggerEvents interface para receber avisos de eventos.

pdwCookie
UInt32

fora Cookie retornado para identificar essa interface de coletor particular. O cliente precisa salvar o cookie e usá-lo na chamada para UnadviseDebuggerEvents(UInt32) .

Retornos

Int32

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.

Comentários

Assinatura COM

De VSShell. idl:

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

Aplica-se a