IVsAsyncEnum.AdviseAsyncEnumCallback(IVsAsyncEnumCallback, UInt32) Method
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.
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);
C++/WinRT
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
- 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
.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
cpp#
HRESULT IVsAsyncEnum::AdviseAsyncEnumCallback(
[in] IVsAsyncEnumCallback *pIVsAsyncEnumCallback,
[out] VSCOOKIE *pdwCookie
);
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |