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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา