Export (0) Print
Expand All

IVsSolution.UnadviseSolutionEvents Method

Disables a client from receiving notifications of solution events.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int UnadviseSolutionEvents (
	[InAttribute] uint dwCookie
int UnadviseSolutionEvents (
	/** @attribute InAttribute() */ UInt32 dwCookie
function UnadviseSolutionEvents (
	dwCookie : uint
) : int



[in] Abstract handle to the client that is to be disabled from being notified of solution events.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsSolution::UnadviseSolutionEvents(
   [in] VSCOOKIE dwCookie

This is the same dwCookie passed in with the call to AdviseSolutionEvents.

Community Additions

© 2014 Microsoft