IVsWebServiceProvider.GetWebService(String, IVsWebService) Метод

Определение

Извлекает интерфейс к веб-службе.

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

Параметры

pszUrl
String

[in] Указатель на строку, содержащую URL-адрес веб-службы.

ppIVsWebService
IVsWebService

[out] Указатель на интерфейс IVsWebService, определяющий веб-службу.

Возвращаемое значение

Int32

Если метод завершается успешно, возвращает значение S_OK. В противном случае функция возвращает код ошибки.

Применяется к