UriBuilder Constructor (String)
Initializes a new instance of the UriBuilder class with the specified URI.
Assembly: System (in System.dll)
uri is null.
uri is a zero length string or contains only spaces.
The parsing routine detected a scheme in an invalid form.
The parser detected more than two consecutive slashes in a URI that does not use the "file" scheme.
uri is not a valid URI.
Available since 4.5
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1