IVsAsyncEnum.AdviseAsyncEnumCallback(IVsAsyncEnumCallback, UInt32) Method

Definition

Enables the client to receive events about changes to the asynchronous enumeration.

C++/WinRT
int AdviseAsyncEnumCallback(Microsoft::VisualStudio::Shell::Interop::IVsAsyncEnumCallback const & pIVsAsyncEnumCallback, [Runtime::InteropServices::Out] unsigned int & pdwCookie);

Parameters

pIVsAsyncEnumCallback
IVsAsyncEnumCallback

[in] The object representing the entity to be called for the asynchronous enumeration events.

pdwCookie
UInt32

[out] A cookie identifying the instance of the event callback specified in pIVsAsyncEnumCallback.

Returns

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

Remarks

COM Signature

From vsshell.idl:

cpp#
HRESULT IVsAsyncEnum::AdviseAsyncEnumCallback(  
   [in] IVsAsyncEnumCallback *pIVsAsyncEnumCallback,   
   [out] VSCOOKIE *pdwCookie  
);  

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022