IVsWebService3.GetMexWebServiceEndpoint(String, IVsWebServiceEndpoint) 方法

定义

检索指定 URL 的元数据交换 Web 服务终结点。

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

参数

bstrUrl
String

中要从中获取元数据交换 Web 服务终结点的 URL。

ppIVsWebServiceEndpoint
IVsWebServiceEndpoint

[out,retval]元数据交换 Web 服务终结点。

返回

Int32

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

适用于