ServiceEndpointElement::Address Property

 

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

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
[ConfigurationPropertyAttribute("address", DefaultValue = "", 
	Options = ConfigurationPropertyOptions::IsKey)]
property Uri^ Address {
	Uri^ get();
	void set(Uri^ value);
}

Property Value

Type: System::Uri^

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

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.

.NET Framework
Available since 3.0
Return to top
Show: