Bewerken

Share via


HttpRequestMessage.RequestUri Property

Definition

Gets or sets the Uri used for the HTTP request.

public:
 property Uri ^ RequestUri { Uri ^ get(); void set(Uri ^ value); };
public Uri RequestUri { get; set; }
public Uri? RequestUri { get; set; }
member this.RequestUri : Uri with get, set
Public Property RequestUri As Uri

Property Value

Uri

The Uri used for the HTTP request.

Remarks

If the request Uri is a relative Uri, it will be combined with the BaseAddress.

Applies to