Edytuj

Udostępnij za pośrednictwem


ServiceEndpointElement.Address Property

Definition

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

public:
 property Uri ^ Address { Uri ^ get(); void set(Uri ^ value); };
[System.Configuration.ConfigurationProperty("address", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsKey)]
public Uri Address { get; set; }
[<System.Configuration.ConfigurationProperty("address", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsKey)>]
member this.Address : Uri with get, set
Public Property Address As Uri

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