EndpointAddressBuilder.ToEndpointAddress Method ()


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)

public EndpointAddress ToEndpointAddress()

Return Value

Type: System.ServiceModel.EndpointAddress

The EndpointAddress whose property are initialized with the values of the current endpoint address builder.

The values initialized from the endpoint address are the identity, the address header collection, the URI, and the extension buffer.

EndpointAddress ea = eab.ToEndpointAddress();

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