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)

UriTemplate Constructor (String, Boolean)

Initializes a new instance of the UriTemplate class.

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

public UriTemplate(
	string template,
	bool ignoreTrailingSlash


Type: System.String
The template string.
Type: System.Boolean
A value that specifies whether trailing slash “/” characters should be ignored.

When the ignoreTrailingSlash is set to true, trailing slashes on the end of template are ignored when binding parameters to create a URI.


Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft