Share via


AbsoluteUri Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the absolute URI.

Namespace:  System
Assembly:  System.Http (in System.Http.dll)

Syntax

'Declaration
Public ReadOnly Property AbsoluteUri As String
public string AbsoluteUri { get; }
public:
property String^ AbsoluteUri {
    String^ get ();
}
member AbsoluteUri : string with get
function get AbsoluteUri () : String

Property Value

Type: System. . :: . .String
A String containing the entire URI.

Exceptions

Exception Condition
InvalidOperationException

This instance represents a relative URI, and this property is valid only for absolute URIs.

Remarks

The AbsoluteUri property includes the entire URI stored in the Uri instance, including all fragments and query strings.

.NET Framework Security

See Also

Reference

Uri Class

System Namespace