IVsWebService.AdviseWebServiceEvents(IVsWebServiceEvents, UInt32) 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.
Register callbacks for the Web service.
public:
int AdviseWebServiceEvents(Microsoft::VisualStudio::Shell::Interop::IVsWebServiceEvents ^ pEvents, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
int AdviseWebServiceEvents(Microsoft::VisualStudio::Shell::Interop::IVsWebServiceEvents const & pEvents, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public int AdviseWebServiceEvents (Microsoft.VisualStudio.Shell.Interop.IVsWebServiceEvents pEvents, out uint pdwCookie);
abstract member AdviseWebServiceEvents : Microsoft.VisualStudio.Shell.Interop.IVsWebServiceEvents * uint32 -> int
Public Function AdviseWebServiceEvents (pEvents As IVsWebServiceEvents, ByRef pdwCookie As UInteger) As Integer
Parameters
- pEvents
- IVsWebServiceEvents
[in] Pointer to an IVsWebServiceEvents interface implementing the callback functions.
- pdwCookie
- UInt32
[out] Pointer to an integer, a VSCOOKIE value uniquely identifying the registered interface. Used in the call to UnadviseWebServiceEvents(UInt32).
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.