Compartilhar via


IVsWebService3.GetMexWebServiceEndpoint Method

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

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'Declaration
Function GetMexWebServiceEndpoint ( _
    bstrUrl As String, _
    <OutAttribute> ByRef ppIVsWebServiceEndpoint As IVsWebServiceEndpoint _
) As Integer
int GetMexWebServiceEndpoint(
    string bstrUrl,
    out IVsWebServiceEndpoint ppIVsWebServiceEndpoint
)
int GetMexWebServiceEndpoint(
    [InAttribute] String^ bstrUrl, 
    [OutAttribute] IVsWebServiceEndpoint^% ppIVsWebServiceEndpoint
)
abstract GetMexWebServiceEndpoint : 
        bstrUrl:string * 
        ppIVsWebServiceEndpoint:IVsWebServiceEndpoint byref -> int
function GetMexWebServiceEndpoint(
    bstrUrl : String, 
    ppIVsWebServiceEndpoint : IVsWebServiceEndpoint
) : int

Parameters

  • bstrUrl
    Type: String

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

Return Value

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

.NET Framework Security

See Also

Reference

IVsWebService3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace