HttpRequestMessage.RequestUri Property

Gets or sets the Uri used for the HTTP request.

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

Syntax

'Declaration
Public Property RequestUri As Uri 
    Get 
    Set
'Usage
Dim instance As HttpRequestMessage 
Dim value As Uri 

value = instance.RequestUri

instance.RequestUri = value
public Uri RequestUri { get; set; }
public:
property Uri^ RequestUri {
    Uri^ get ();
    void set (Uri^ value);
}
member RequestUri : Uri with get, set
function get RequestUri () : Uri 
function set RequestUri (value : Uri)

Property Value

Type: System.Uri

See Also

Reference

HttpRequestMessage Class

System.Net.Http Namespace