MetadataImporter::ImportAllEndpoints Method ()

 

When overridden in a derived class, returns all endpoints in the metadata.

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
virtual ServiceEndpointCollection^ ImportAllEndpoints() abstract

Return Value

Type: System.ServiceModel.Description::ServiceEndpointCollection^

A collection of System.ServiceModel.Description::ServiceEndpoint objects that are published by a service.

Implement the ImportAllEndpoints method to return all endpoints in the imported metadata. Metadata that has been imported as service endpoints cannot be used to create a runtime or export metadata because the imported endpoints contain no managed type information. To use the metadata to create a client or service runtime or to generate metadata, you must first generate and compile code from the metadata and use that type information to create a new System.ServiceModel.Description::ContractDescription object using GetContract.

.NET Framework
Available since 3.0
Return to top
Show: