IVsWebService3.GetWebServiceEndpoint(String, IVsWebServiceEndpoint) 方法

定义

检索指定 URL 的 Web 服务终结点。

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

参数

bstrUrl
String

中从中获取 Web 服务终结点的 URL。

ppIVsWebServiceEndpoint
IVsWebServiceEndpoint

[out,retval]Web 服务终结点。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

适用于