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