This API is preliminary and subject to change.
Initializes a new instance of the
UriTemplate class
using the specified template.
Namespace: TunnelVisionLabs.NetAssembly: TunnelVisionLabs.Net.UriTemplate (in TunnelVisionLabs.Net.UriTemplate.dll) Version: 1.0.0-beta004
Syntax public UriTemplate(
string template
)
Public Sub New (
template As String
)
public:
UriTemplate(
String^ template
)
new :
template : string -> UriTemplate
Parameters
- template
- Type: SystemString
The URI template.
Exceptions Exception | Condition |
---|
ArgumentNullException | If template is . |
NotSupportedException | If template contains a variable expansion which uses an operator which is reserved for future extensions, but not defined for Level 4 URI Templates. |
FormatException | If template is not a valid URI-Template according to RFC 6570. |
Version Information .NET Framework
Supported in: 2.0
Portable Class Library
Supported in: Portable Class Library (Legacy)
URI Template Library
Supported in: 1.0
See Also