다음을 통해 공유


IVsWebServiceProvider.AdviseWebServiceProviderEvents Method

Definition

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.

Applies to