IVsWebServiceProvider.GetWebService(String, IVsWebService) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索 Web 服务的接口。
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
中指向字符串的指针,该字符串包含 Web 服务的 URL。
- ppIVsWebService
- IVsWebService
弄指向 IVsWebService 定义 Web 服务的接口的指针。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。