EndpointAddressBuilder.Uri Property

 

Gets or sets the URI for the endpoints that the builder can create.

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

public Uri Uri { get; set; }

Property Value

Type: System.Uri

The Uri that specifies the endpoint address.

Allows the programmer to set or get the URI associated with the endpoint address.

EndpointAddressBuilder eab = new EndpointAddressBuilder();
eab.Uri = new Uri("http://localhost/Uri");
eab.Headers.Add(AddressHeader.CreateAddressHeader("n", "ns", "val"));

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: