IVsWebServiceProvider.AdviseWebServiceProviderEvents Method

Definition

Registers callbacks for Web service provider events.

C++/WinRT
int AdviseWebServiceProviderEvents(Microsoft::VisualStudio::Shell::Interop::IVsWebServiceProviderEvents const & pEvents, [Runtime::InteropServices::Out] unsigned int & pdwCookie);

Parameters

pEvents
IVsWebServiceProviderEvents

[in] Pointer to an IVsWebServiceProviderEvents interface implementation containing the callback functions.

pdwCookie
UInt32

[out] Pointer to an integer uniquely identifying the registered interface. A VSCOOKIE value. Used when unregistering the interface by calling UnadviseWebServiceProviderEvents(UInt32).

Returns

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

Applies to

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