共用方式為


IVsWebService3.GetWebServiceEndpoint(String, IVsWebServiceEndpoint) Method

Definition

Retrieves the Web service endpoint for the specified URL.

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

Parameters

bstrUrl
String

[in] The URL from which to get the Web service endpoint.

ppIVsWebServiceEndpoint
IVsWebServiceEndpoint

[out, retval] The Web service endpoint.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to