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)

public string AbsoluteUri { get; }

Property Value

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

ExceptionCondition
InvalidOperationException

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

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

Show: