HttpGetStringResult.RequestMessage 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 the request message that led to this HttpGetStringResult.
public:
property HttpRequestMessage ^ RequestMessage { HttpRequestMessage ^ get(); };
HttpRequestMessage RequestMessage();
public HttpRequestMessage RequestMessage { get; }
var httpRequestMessage = httpGetStringResult.requestMessage;
Public ReadOnly Property RequestMessage As HttpRequestMessage
Property Value
The request message that led to this HttpGetStringResult.
Remarks
This property is the request message that led to this response message. For a request sent using HttpClient, this property will point to the actual request message leading to the final response. Note that this may not be the same message the user provided when sending the request. This is typically the case if the request needs to be resent due to redirects or authentication. This property can be used to determine what URI actually created the response (useful in case of redirects).
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor