A factory for producing new (immutable) endpoint addresses with specific property values.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Public Class EndpointAddressBuilder
public class EndpointAddressBuilder
The EndpointAddressBuilder type exposes the following members.
|EndpointAddressBuilder()||Initializes a new instance of the EndpointAddressBuilder class.|
|EndpointAddressBuilder(EndpointAddress)||Initializes a new instance of the EndpointAddressBuilder class from the values of an existing endpoint address.|
|Headers||Gets the collection of address headers for the endpoints that the builder can create.|
|Uri||Gets or sets the URI for the endpoints that the builder can create.|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToEndpointAddress||Creates a new endpoint address initialized with the property values of the current endpoint address builder.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
The new endpoint address builder can have its property values initialized from the property values of an existing endpoint address using the EndpointAddressBuilder(EndpointAddress) constructor.
Create endpoint addresses with this factory class using the ToEndpointAddress() method. These endpoint addresses can have their URI value set before invoking this method by using the Uri property of the endpoint address builder.
A collection of optional headers can be used to provide additional, more detailed addressing information to identify or interact with the endpoint. Address headers for the endpoints can be set using the EndpointAddressBuilder(EndpointAddress) constructor and retrieved using the Headers property.
Note that EndpointAddress is an immutable class, so its properties cannot be changed after initialization.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Supported in: Windows Phone OS 7.0
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.