UriTemplateTable Constructor (Uri^, IEnumerable<KeyValuePair<UriTemplate^, Object^>>^)

 

Initializes a new instance of the UriTemplateTable class with the specified base address and collection of key/value pairs.

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

public:
UriTemplateTable(
	Uri^ baseAddress,
	IEnumerable<KeyValuePair<UriTemplate^, Object^>>^ keyValuePairs
)

Parameters

baseAddress
Type: System::Uri^

A Uri instance that contains the base address.

keyValuePairs
Type: System.Collections.Generic::IEnumerable<KeyValuePair<UriTemplate^, Object^>>^

A collection of key/value pairs that consist of URI templates and associated data.

The following example shows how to call this constructor.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.5
Return to top
Show: