Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
UriTemplate Constructor (String, Boolean, IDictionary(String, String))

UriTemplate Constructor (String, Boolean, IDictionary<String, String>)

Initializes a new instance of the UriTemplate class.

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

public UriTemplate(
	string template,
	bool ignoreTrailingSlash,
	IDictionary<string, string> additionalDefaults
)

Parameters

template
Type: System.String

The template string.

ignoreTrailingSlash
Type: System.Boolean

true if the trailing slash “/” characters are ignored; otherwise false.

additionalDefaults
Type: System.Collections.Generic.IDictionary<String, String>

A dictionary that contains a list of default values for the template parameters.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft