AnyUri Constructor (string)AnyUri Constructor (String)AnyUri Constructor (String^)
Parameters
- uriString
Type: System.StringSystem.StringSystem::String^
The string representation of the URI.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | uriString is null
a null reference (Nothing in Visual Basic)
nullptr . |
UriFormatExceptionUriFormatExceptionUriFormatException | uriString is not a valid URI. |
Remarks
If uriString is not a valid URI, then the string is percent encoded and another attempt is made to parse it.