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 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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.