共用方式為


IVsWebService3.GetMexWebServiceEndpoint(String, IVsWebServiceEndpoint) Method

Definition

Retrieves the metadata exchange Web service endpoint for the specified URL.

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

Parameters

bstrUrl
String

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

ppIVsWebServiceEndpoint
IVsWebServiceEndpoint

[out, retval] The metadata exchange Web service endpoint.

Returns

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

Applies to