次の方法で共有


IVsWebServiceProvider.GetWebService(String, IVsWebService) Method

Definition

Retrieves an interface to a Web service.

public:
 int GetWebService(System::String ^ pszUrl, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsWebService ^ % ppIVsWebService);
public:
 int GetWebService(Platform::String ^ pszUrl, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsWebService ^ &  ppIVsWebService);
int GetWebService(std::wstring const & pszUrl, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsWebService const & & ppIVsWebService);
public int GetWebService (string pszUrl, out Microsoft.VisualStudio.Shell.Interop.IVsWebService ppIVsWebService);
abstract member GetWebService : string * IVsWebService -> int
Public Function GetWebService (pszUrl As String, ByRef ppIVsWebService As IVsWebService) As Integer

Parameters

pszUrl
String

[in] Pointer to a string containing the URL of the Web service.

ppIVsWebService
IVsWebService

[out] Pointer to an IVsWebService interface defining the Web service.

Returns

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

Applies to