Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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)
Syntax
'Declaration
Public ReadOnly Property AbsolutePath As String
public string AbsolutePath { get; }
public:
property String^ AbsolutePath {
String^ get ();
}
member AbsolutePath : string with get
function get AbsolutePath () : String
Property Value
Type: System. . :: . .String
A String containing the absolute path to the resource.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This instance represents a relative URI, and this property is valid only for absolute URIs. |
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.