WsdlImporter.ImportEndpoints WsdlImporter.ImportEndpoints WsdlImporter.ImportEndpoints WsdlImporter.ImportEndpoints Method

Definition

Returns a collection of ServiceEndpoint objects that matches all WSDL ports using a specified binding, associated with a specified port type, or within a specified WSDL service.

Overloads

ImportEndpoints(Binding) ImportEndpoints(Binding) ImportEndpoints(Binding) ImportEndpoints(Binding)

Returns a ServiceEndpointCollection that represents all WSDL port types using the specified Binding.

ImportEndpoints(PortType) ImportEndpoints(PortType) ImportEndpoints(PortType) ImportEndpoints(PortType)

Returns a ServiceEndpointCollection that represents all WSDL port types associated with the specified PortType.

ImportEndpoints(Service) ImportEndpoints(Service) ImportEndpoints(Service) ImportEndpoints(Service)

Returns a ServiceEndpointCollection that represents all WSDL port types within the specified Service.

ImportEndpoints(Binding) ImportEndpoints(Binding) ImportEndpoints(Binding) ImportEndpoints(Binding)

Returns a ServiceEndpointCollection that represents all WSDL port types using the specified Binding.

public:
 System::ServiceModel::Description::ServiceEndpointCollection ^ ImportEndpoints(System::Web::Services::Description::Binding ^ wsdlBinding);
public System.ServiceModel.Description.ServiceEndpointCollection ImportEndpoints (System.Web.Services.Description.Binding wsdlBinding);
member this.ImportEndpoints : System.Web.Services.Description.Binding -> System.ServiceModel.Description.ServiceEndpointCollection
Public Function ImportEndpoints (wsdlBinding As Binding) As ServiceEndpointCollection

Parameters

wsdlBinding
Binding Binding Binding Binding

A Binding object used in a WSDL port.

Returns

Exceptions

Remarks

Check the Errors property to determine whether there are any import errors before using the returned object.

ImportEndpoints(PortType) ImportEndpoints(PortType) ImportEndpoints(PortType) ImportEndpoints(PortType)

Returns a ServiceEndpointCollection that represents all WSDL port types associated with the specified PortType.

public:
 System::ServiceModel::Description::ServiceEndpointCollection ^ ImportEndpoints(System::Web::Services::Description::PortType ^ wsdlPortType);
public System.ServiceModel.Description.ServiceEndpointCollection ImportEndpoints (System.Web.Services.Description.PortType wsdlPortType);
member this.ImportEndpoints : System.Web.Services.Description.PortType -> System.ServiceModel.Description.ServiceEndpointCollection
Public Function ImportEndpoints (wsdlPortType As PortType) As ServiceEndpointCollection

Parameters

wsdlPortType
PortType PortType PortType PortType

The PortType object that is used to find associated WSDL port information.

Returns

Exceptions

Remarks

Check the Errors property to determine whether there are any import errors before using the returned object.

ImportEndpoints(Service) ImportEndpoints(Service) ImportEndpoints(Service) ImportEndpoints(Service)

Returns a ServiceEndpointCollection that represents all WSDL port types within the specified Service.

public:
 System::ServiceModel::Description::ServiceEndpointCollection ^ ImportEndpoints(System::Web::Services::Description::Service ^ wsdlService);
public System.ServiceModel.Description.ServiceEndpointCollection ImportEndpoints (System.Web.Services.Description.Service wsdlService);
member this.ImportEndpoints : System.Web.Services.Description.Service -> System.ServiceModel.Description.ServiceEndpointCollection
Public Function ImportEndpoints (wsdlService As Service) As ServiceEndpointCollection

Parameters

wsdlService
Service Service Service Service

The Service object within which to search for WSDL port information.

Returns

Exceptions

Remarks

Check the Errors property to determine whether there are any import errors before using the returned object.

Applies to