Compartir a través de


IVsUserContext.UnadviseUpdate(UInt32) Method

Definition

Disables clients from receiving notification of updates to the user context.

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

Parameters

dwCookie
UInt32

[in] Unique identifier for the referenced event sink. This is the same value returned by the AdviseUpdate(IVsUserContextUpdate, UInt32) method.

Returns

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

Remarks

COM Signature

From context.idl:

HRESULT IVsUserContext::UnadviseUpdate(  
   [in] VSCOOKIE dwCookie  
);  

The value of the dwCookie parameter is the value returned from a call to AdviseUpdate. Call the AdviseUpdate method to receive notification that the user context is being updated. Call the IVsUserContext.UnadviseUpdate method to turn off this notification.

Applies to