共用方式為


HttpClientLatencyTelemetryExtensions 類別

定義

新增 HTTP 用戶端延遲遙測的延伸模組。

public ref class HttpClientLatencyTelemetryExtensions abstract sealed
public static class HttpClientLatencyTelemetryExtensions
type HttpClientLatencyTelemetryExtensions = class
Public Module HttpClientLatencyTelemetryExtensions
繼承
HttpClientLatencyTelemetryExtensions

方法

AddHttpClientLatencyTelemetry(IServiceCollection, Action<HttpClientLatencyTelemetryOptions>)

DelegatingHandler加入 以收集延遲資訊,並擴充所有 HTTP 用戶端的傳出要求記錄檔。

AddHttpClientLatencyTelemetry(IServiceCollection, IConfigurationSection)

DelegatingHandler加入 以收集延遲資訊,並擴充所有 HTTP 用戶端的傳出要求記錄檔。

AddHttpClientLatencyTelemetry(IServiceCollection)

DelegatingHandler加入 以收集延遲資訊,並擴充所有 HTTP 用戶端的傳出要求記錄檔。

適用於