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
)
function UnadviseDebuggerEvents(
dwCookie : uint
) : int
Parameters
dwCookie
Type: System.UInt32[in] The cookie returned by the call to AdviseDebuggerEvents.
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
);
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.