ServiceElement.Endpoints Property
Definition
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.