共用方式為


IVsDebugger.UnadviseDebugEventCallback(Object) Method

Definition

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

public:
 int UnadviseDebugEventCallback(System::Object ^ punkDebuggerEvents);
public:
 int UnadviseDebugEventCallback(Platform::Object ^ punkDebuggerEvents);
int UnadviseDebugEventCallback(winrt::Windows::Foundation::IInspectable const & punkDebuggerEvents);
public int UnadviseDebugEventCallback (object punkDebuggerEvents);
abstract member UnadviseDebugEventCallback : obj -> int
Public Function UnadviseDebugEventCallback (punkDebuggerEvents As Object) As Integer

Parameters

punkDebuggerEvents
Object

[in] Pointer to the IUnknown interface of an object that also implements IVsDebuggerEvents.

Returns

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  
);  

Applies to