WsdlImporter.ImportEndpoints Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |
Returns a ServiceEndpointCollection that represents all WSDL port types using the specified Binding. |
ImportEndpoints(PortType) |
Returns a ServiceEndpointCollection that represents all WSDL port types associated with the specified PortType. |
ImportEndpoints(Service) |
Returns a ServiceEndpointCollection that represents all WSDL port types within the specified Service. |
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
Returns
A ServiceEndpointCollection that represents all WSDL port types using the specified Binding.
Exceptions
The WsdlImporter has encountered an error.
The wsdlBinding
is null
.
Remarks
Check the Errors property to determine whether there are any import errors before using the returned object.
Applies to
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
Returns
A ServiceEndpointCollection that represents all WSDL port types associated with the specified PortType.
Exceptions
The WsdlImporter has encountered an error.
wsdlPortType
is null
.
Remarks
Check the Errors property to determine whether there are any import errors before using the returned object.
Applies to
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
Returns
A ServiceEndpointCollection that represents all WSDL port types within the specified Service.
Exceptions
The WsdlImporter has encountered an error.
The wsdlService
is null
.
Remarks
Check the Errors property to determine whether there are any import errors before using the returned object.