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
'Declaration
Function UnadviseDebuggerEvents ( _
dwCookie As UInteger _
) As Integer
int UnadviseDebuggerEvents(
uint dwCookie
)
int UnadviseDebuggerEvents(
[InAttribute] unsigned int dwCookie
)
abstract UnadviseDebuggerEvents :
dwCookie:uint32 -> int
function UnadviseDebuggerEvents(
dwCookie : uint
) : int
Parameters
dwCookie
Type: UInt32[in] The cookie returned by the call to AdviseDebuggerEvents.
Return Value
Type: 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
- 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.