ServiceElement.Endpoints Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a collection of endpoints exposed by this service.

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

[ConfigurationPropertyAttribute("", Options = ConfigurationPropertyOptions.IsDefaultCollection)]
public ServiceEndpointElementCollection Endpoints { get; }

Property Value

Type: System.ServiceModel.Configuration.ServiceEndpointElementCollection

A ServiceEndpointElementCollection that contains one or more endpoints exposed by this service.

Each endpoint has its own address and binding. All bindings used within the configuration file must be defined in the scope of the file.

.NET Framework
Available since 3.0
Return to top