System.Uri: Constructor Members

The constructors of System.Uri are listed below. For a list of all members, see the Uri Members list.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the Uri class with the specified URI.

Initializes a new instance of the Uri class with the specified URI, with explicit control of character escaping.

Initializes a new instance of the Uri class with the specified URI. This constructor allows you to specify if the URI string is a relative URI, absolute URI, or is indeterminate.

Initializes a new instance of the Uri class based on the specified base URI and relative URI string.

Initializes a new instance of the Uri class based on the combination of a specified base Uri instance and a relative Uri instance.

Initializes a new instance of the Uri class based on the specified base and relative URIs, with explicit control of character escaping.

Protected Constructors