Constructs and initializes a new instance of the UriBuilder class with the specified scheme and host.
This constructor creates a new instance of the UriBuilder class with its properties initialized as follows:
Property Initial value Fragment string.Empty Host hostName Password string.Empty Path "/" Port -1 Query string.Empty Scheme schemeName UserName string.Empty Note: UriBuilder.Port is initialized to the value -1 to indicate the default port for the scheme should be used.
Namespace: System
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0