IVsHierarchy.UnadviseHierarchyEvents(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Disables client notification of hierarchy events without requiring that the hierarchy implement IConnectionPointContainer.
public:
int UnadviseHierarchyEvents(System::UInt32 dwCookie);
public:
int UnadviseHierarchyEvents(unsigned int dwCookie);
int UnadviseHierarchyEvents(unsigned int dwCookie);
public int UnadviseHierarchyEvents (uint dwCookie);
abstract member UnadviseHierarchyEvents : uint32 -> int
Public Function UnadviseHierarchyEvents (dwCookie As UInteger) As Integer
Parameters
- dwCookie
- UInt32
[in] Abstract handle to the client that was disabled from receiving notifications of hierarchy events.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
This is the same dwCookie
that passed in with the call to AdviseHierarchyEvents.
COM Signature
From vsshell.idl:
HRESULT IVsHierarchy::UnadviseHierarchyEvents(
[in] VSCOOKIE dwCookie
);