IHttpClientLogger.LogRequestStop Method
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.
Logs after receiving an HTTP response.
public:
void LogRequestStop(System::Object ^ context, System::Net::Http::HttpRequestMessage ^ request, System::Net::Http::HttpResponseMessage ^ response, TimeSpan elapsed);
public void LogRequestStop (object? context, System.Net.Http.HttpRequestMessage request, System.Net.Http.HttpResponseMessage response, TimeSpan elapsed);
abstract member LogRequestStop : obj * System.Net.Http.HttpRequestMessage * System.Net.Http.HttpResponseMessage * TimeSpan -> unit
Public Sub LogRequestStop (context As Object, request As HttpRequestMessage, response As HttpResponseMessage, elapsed As TimeSpan)
Parameters
- context
- Object
The context object that was previously returned by LogRequestStart(HttpRequestMessage).
- request
- HttpRequestMessage
The HTTP request message that was sent.
- response
- HttpResponseMessage
The HTTP response message that was received.
- elapsed
- TimeSpan
Time elapsed since calling LogRequestStart(HttpRequestMessage).
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.