EndpointAddressBuilder.ToEndpointAddress Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Creates a new endpoint address initialized with the property values of the current endpoint address builder.

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

Syntax

'Declaration
Public Function ToEndpointAddress As EndpointAddress
public EndpointAddress ToEndpointAddress()

Return Value

Type: System.ServiceModel.EndpointAddress
The EndpointAddress whose property are initialized with the values of the current endpoint address builder.

Remarks

The endpoint address values initialized from the endpoint address builder are the URI and the address header collection.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.