ServiceEndpointElement.Address Property

Definition

Gets or sets a URI that contains the address of the endpoint.

C#
[System.Configuration.ConfigurationProperty("address", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsKey)]
public Uri Address { get; set; }

Property Value

Uri

A URI that contains the address of the endpoint. The default is an empty string.

Attributes

Remarks

The address can be specified as an absolute or relative address. If a relative address is provided, the host is expected to provide a base address appropriate for the transport scheme used in the binding. If an address is not configured, the base address is assumed to be the address for that endpoint.

Applies to

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