IVsDebugger.AdviseDebuggerEvents – metoda (IVsDebuggerEvents, UInt32)
Používaný klient získat oznámení ladicí události.
Obor názvů: Microsoft.VisualStudio.Shell.Interop
Sestavení: Microsoft.VisualStudio.Shell.Interop (v Microsoft.VisualStudio.Shell.Interop.dll)
Syntaxe
int AdviseDebuggerEvents(
IVsDebuggerEvents pSink,
out uint pdwCookie
)
int AdviseDebuggerEvents(
IVsDebuggerEvents^ pSink,
[OutAttribute] unsigned int% pdwCookie
)
abstract AdviseDebuggerEvents :
pSink:IVsDebuggerEvents *
pdwCookie:uint32 byref -> int
Function AdviseDebuggerEvents (
pSink As IVsDebuggerEvents,
<OutAttribute> ByRef pdwCookie As UInteger
) As Integer
Parametry
- pSink
[v] Ukazatel IVsDebuggerEvents rozhraní pro příjem oznámení událostí.
- pdwCookie
[výstup] Soubor cookie vrátil k identifikaci tohoto rozhraní zejména jímky.Klient potřebuje uložit soubor cookie a použít ji ve volání UnadviseDebuggerEvents.
Vrácená hodnota
Type: System.Int32
Pokud metoda uspěje, vrací S_OK.Pokud se nezdaří, vrátí kód chyby.
Poznámky
Podpis COM
Z vsshell.idl:
HRESULT IVsDebugger::AdviseDebuggerEvents(
[in] IVsDebuggerEvents *psink,
[out] VSCOOKIE *pdwCookie
);
Viz také
IVsDebugger – rozhraní
Microsoft.VisualStudio.Shell.Interop – obor názvů
Zpátky na začátek