WsdlImporter::ImportAllEndpoints Method ()
.NET Framework (current version)
Returns a ServiceEndpointCollection that represents the endpoints in WSDL documents.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Return Value
Type: System.ServiceModel.Description::ServiceEndpointCollection^A ServiceEndpointCollection that represents the endpoints in WSDL documents.
| Exception | Condition |
|---|---|
| InvalidOperationException | The WsdlImporter has encountered an error. |
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.
.NET Framework
Available since 3.0
Available since 3.0
Show: