Bewerken

Share via


EndpointAddressBuilder.ToEndpointAddress Method

Definition

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

public:
 System::ServiceModel::EndpointAddress ^ ToEndpointAddress();
public System.ServiceModel.EndpointAddress ToEndpointAddress ();
member this.ToEndpointAddress : unit -> System.ServiceModel.EndpointAddress
Public Function ToEndpointAddress () As EndpointAddress

Returns

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

Examples

EndpointAddress ea = eab.ToEndpointAddress();
Dim ea As EndpointAddress = eab.ToEndpointAddress()

Remarks

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

Applies to