IVsWebServiceProvider.AdviseWebServiceProviderEvents 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.
Registers callbacks for Web service provider events.
public:
int AdviseWebServiceProviderEvents(Microsoft::VisualStudio::Shell::Interop::IVsWebServiceProviderEvents ^ pEvents, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
int AdviseWebServiceProviderEvents(Microsoft::VisualStudio::Shell::Interop::IVsWebServiceProviderEvents const & pEvents, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public int AdviseWebServiceProviderEvents (Microsoft.VisualStudio.Shell.Interop.IVsWebServiceProviderEvents pEvents, out uint pdwCookie);
abstract member AdviseWebServiceProviderEvents : Microsoft.VisualStudio.Shell.Interop.IVsWebServiceProviderEvents * uint32 -> int
Public Function AdviseWebServiceProviderEvents (pEvents As IVsWebServiceProviderEvents, ByRef pdwCookie As UInteger) As Integer
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.