MetadataImporter.ImportAllEndpoints Method
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.
When overridden in a derived class, returns all endpoints in the metadata.
public:
abstract System::ServiceModel::Description::ServiceEndpointCollection ^ ImportAllEndpoints();
public abstract System.ServiceModel.Description.ServiceEndpointCollection ImportAllEndpoints ();
abstract member ImportAllEndpoints : unit -> System.ServiceModel.Description.ServiceEndpointCollection
Public MustOverride Function ImportAllEndpoints () As ServiceEndpointCollection
A collection of 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.
Product | Versions |
---|---|
.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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: