ServiceElement.Endpoints Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
Show: