HttpRequestMessage.RequestUri Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the Uri used for the HttpRequestMessage object.
public:
property Uri ^ RequestUri { Uri ^ get(); void set(Uri ^ value); };
Uri RequestUri();
void RequestUri(Uri value);
public System.Uri RequestUri { get; set; }
var uri = httpRequestMessage.requestUri;
httpRequestMessage.requestUri = uri;
Public Property RequestUri As Uri
Property Value
The Uri used for the HTTP request.
Remarks
The value of the RequestUri must not be a relative Uri.