IVsAsyncEnum.AdviseAsyncEnumCallback(IVsAsyncEnumCallback, UInt32) Method

Definition

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

public:
 int AdviseAsyncEnumCallback(Microsoft::VisualStudio::Shell::Interop::IVsAsyncEnumCallback ^ pIVsAsyncEnumCallback, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
int AdviseAsyncEnumCallback(Microsoft::VisualStudio::Shell::Interop::IVsAsyncEnumCallback const & pIVsAsyncEnumCallback, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public int AdviseAsyncEnumCallback (Microsoft.VisualStudio.Shell.Interop.IVsAsyncEnumCallback pIVsAsyncEnumCallback, out uint pdwCookie);
abstract member AdviseAsyncEnumCallback : Microsoft.VisualStudio.Shell.Interop.IVsAsyncEnumCallback * uint32 -> int
Public Function AdviseAsyncEnumCallback (pIVsAsyncEnumCallback As IVsAsyncEnumCallback, ByRef pdwCookie As UInteger) As Integer

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:

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

Applies to