Modifier

Partager via


ServiceElement.Endpoints Property

Definition

Gets a collection of endpoints exposed by this service.

public:
 property System::ServiceModel::Configuration::ServiceEndpointElementCollection ^ Endpoints { System::ServiceModel::Configuration::ServiceEndpointElementCollection ^ get(); };
[System.Configuration.ConfigurationProperty("", Options=System.Configuration.ConfigurationPropertyOptions.IsDefaultCollection)]
public System.ServiceModel.Configuration.ServiceEndpointElementCollection Endpoints { get; }
[<System.Configuration.ConfigurationProperty("", Options=System.Configuration.ConfigurationPropertyOptions.IsDefaultCollection)>]
member this.Endpoints : System.ServiceModel.Configuration.ServiceEndpointElementCollection
Public ReadOnly Property Endpoints As ServiceEndpointElementCollection

Property Value

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

Attributes

Remarks

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

Applies to