IVsDebugger.UnadviseDebuggerEvents Method

Used by a client to stop receiving notifications of debugger events. Requires the cookie returned by AdviseDebuggerEvents.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

声明
Function UnadviseDebuggerEvents ( _
    dwCookie As UInteger _
) As Integer
用法
Dim instance As IVsDebugger
Dim dwCookie As UInteger
Dim returnValue As Integer

returnValue = instance.UnadviseDebuggerEvents(dwCookie)
int UnadviseDebuggerEvents(
    uint dwCookie
)
int UnadviseDebuggerEvents(
    [InAttribute] unsigned int dwCookie
)
abstract UnadviseDebuggerEvents : 
        dwCookie:uint32 -> int 
function UnadviseDebuggerEvents(
    dwCookie : uint
) : int

Parameters

Return Value

Type: System.Int32
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
);

.NET Framework Security

See Also

Reference

IVsDebugger Interface

IVsDebugger Members

Microsoft.VisualStudio.Shell.Interop Namespace