EndpointAddress Constructor (Uri^, array<AddressHeader^>^)

 

Initializes a new instance of the EndpointAddress class with a specified URI and headers.

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

public:
EndpointAddress(
	Uri^ uri,
	... array<AddressHeader^>^ addressHeaders
)

Parameters

uri
Type: System::Uri^

The Uri that identifies the endpoint location.

addressHeaders
Type: array<System.ServiceModel.Channels::AddressHeader^>^

The Array of type AddressHeader that contains address information used to interact with the endpoint.

The following code shows the use of this constructor.

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