UriBuilder Constructor (String, String, Int32)
Initializes a new instance of the UriBuilder class with the specified scheme, host, and port.
Assembly: System (in System.dll)
'Declaration Public Sub New ( _ scheme As String, _ host As String, _ portNumber As Integer _ )
public UriBuilder( string scheme, string host, int portNumber )
The UriBuilder instance is initialized with the Scheme property set to schemeName, the Host property set to hostName, and the Port property set to portNumber. The Path property is set to the slash character (/).
Dim myUri As New UriBuilder("http", "www.contoso.com", 8080)
UriBuilder myUri = new UriBuilder("http","www.contoso.com",8080);
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Supported in: Xbox 360, Windows Phone OS 7.0
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.