Bagikan melalui


RequestLatencyTelemetryExtensions.UseRequestLatencyTelemetry Metode

Definisi

Menambahkan middleware telemetri latensi permintaan untuk IApplicationBuilder meminta alur eksekusi.

public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRequestLatencyTelemetry (this Microsoft.AspNetCore.Builder.IApplicationBuilder builder);
static member UseRequestLatencyTelemetry : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseRequestLatencyTelemetry (builder As IApplicationBuilder) As IApplicationBuilder

Parameter

Mengembalikan

IApplicationBuilder Sehingga panggilan tambahan dapat dirangkai.

Pengecualian

builderadalah null.

Berlaku untuk