Compartilhar via


IVsSolution.UnadviseSolutionEvents(UInt32) Method

Definition

Disables a client from receiving notifications of solution events.

public:
 int UnadviseSolutionEvents(System::UInt32 dwCookie);
public:
 int UnadviseSolutionEvents(unsigned int dwCookie);
int UnadviseSolutionEvents(unsigned int dwCookie);
public int UnadviseSolutionEvents (uint dwCookie);
abstract member UnadviseSolutionEvents : uint32 -> int
Public Function UnadviseSolutionEvents (dwCookie As UInteger) As Integer

Parameters

dwCookie
UInt32

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

Returns

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

Remarks

COM Signature

From vsshell.idl:

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

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

Applies to