IVsUserContext::UnadviseUpdate Method (UInt32)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int UnadviseUpdate(
	unsigned int dwCookie
)

Parameters

dwCookie
Type: System::UInt32

[in] Unique identifier for the referenced event sink. This is the same value returned by the AdviseUpdate method.

Return Value

Type: System::Int32

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

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.

Return to top
Show: