Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Function UnadviseUpdate ( _
dwCookie As UInteger _
) As Integer
int UnadviseUpdate(
uint dwCookie
)
int UnadviseUpdate(
[InAttribute] unsigned int dwCookie
)
abstract UnadviseUpdate :
dwCookie:uint32 -> int
function UnadviseUpdate(
dwCookie : uint
) : int
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.
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.