Прочетете на английски Редактиране

Споделяне чрез


WsdlImporter.ImportAllEndpoints Method

Definition

Returns a ServiceEndpointCollection that represents the endpoints in WSDL documents.

C#
public override System.ServiceModel.Description.ServiceEndpointCollection ImportAllEndpoints();

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.

Applies to

Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1