共用方式為


IVsDebugger.UnadviseDebuggerEvents(UInt32) Method

Definition

Used by a client to stop receiving notifications of debugger events. Requires the cookie returned by AdviseDebuggerEvents(IVsDebuggerEvents, UInt32).

public:
 int UnadviseDebuggerEvents(System::UInt32 dwCookie);
public:
 int UnadviseDebuggerEvents(unsigned int dwCookie);
int UnadviseDebuggerEvents(unsigned int dwCookie);
public int UnadviseDebuggerEvents (uint dwCookie);
abstract member UnadviseDebuggerEvents : uint32 -> int
Public Function UnadviseDebuggerEvents (dwCookie As UInteger) As Integer

Parameters

dwCookie
UInt32

[in] The cookie returned by the call to AdviseDebuggerEvents(IVsDebuggerEvents, UInt32).

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::UnadviseDebuggerEvents(  
   [in] VSCOOKIE dwCookie  
);  

Applies to