IVsSolution::UnadviseSolutionEvents Method (UInt32)

 

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(
	unsigned int dwCookie
)

Parameters

dwCookie
Type: System::UInt32

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

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsSolution::UnadviseSolutionEvents(
   [in] VSCOOKIE dwCookie
);

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

Return to top
Show: