WsdlImporter.ImportAllEndpoints 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 ServiceEndpointCollection that represents the endpoints in WSDL documents.
public:
override System::ServiceModel::Description::ServiceEndpointCollection ^ ImportAllEndpoints();
public override System.ServiceModel.Description.ServiceEndpointCollection ImportAllEndpoints ();
override this.ImportAllEndpoints : unit -> System.ServiceModel.Description.ServiceEndpointCollection
Public Overrides Function ImportAllEndpoints () As ServiceEndpointCollection
Returns
A ServiceEndpointCollection that represents the endpoints in WSDL documents.
Exceptions
The WsdlImporter has encountered an error.
Remarks
Use the ImportAllEndpoints method to import all endpoint information from the metadata documents and return them as a collection of ServiceEndpoint objects. Check the Errors property to determine whether there are any import errors before using the returned objects.
To import only a specific WSDL port, see the ImportEndpoint method.