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