IVsWebService3.GetMexWebServiceEndpoint(String, IVsWebServiceEndpoint) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索指定 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 服务终结点。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。