AbsolutePath Property

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

Gets the absolute path of the URI.

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

public string AbsolutePath { get; }

Property Value

Type: System..::..String
A String containing the absolute path to the resource.

ExceptionCondition
InvalidOperationException

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

The AbsolutePath property contains the path information that the server uses to resolve requests for information. Typically this is the path to the desired information on the server's file system, although it also can indicate the application or script the server must run to provide the information.

The path information does not include the scheme, host name, or query portion of the URI.

Show: