IVsUserContext::UnadviseUpdate Method (UInt32)
Visual Studio 2015
Disables clients from receiving notification of updates to the user context.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
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::Int32If 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.
Show: