Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

EndpointAddressBuilder Class

A factory for producing new (immutable) endpoint addresses with specific property values.

System.Object
  System.ServiceModel.EndpointAddressBuilder

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)
public class EndpointAddressBuilder

The EndpointAddressBuilder type exposes the following members.

  NameDescription
Public methodSupported by Silverlight for Windows PhoneEndpointAddressBuilder()Initializes a new instance of the EndpointAddressBuilder class.
Public methodSupported by Silverlight for Windows PhoneEndpointAddressBuilder(EndpointAddress)Initializes a new instance of the EndpointAddressBuilder class from the values of an existing endpoint address.
Top
  NameDescription
Public propertySupported by Silverlight for Windows PhoneHeadersGets the collection of address headers for the endpoints that the builder can create.
Public propertySupported by Silverlight for Windows PhoneUriGets or sets the URI for the endpoints that the builder can create.
Top
  NameDescription
Public methodSupported by Silverlight for Windows PhoneEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows PhoneFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows PhoneMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneToEndpointAddressCreates a new endpoint address initialized with the property values of the current endpoint address builder.
Public methodSupported by Silverlight for Windows PhoneToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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.

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

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.