Freigeben über


RequestLatencyTelemetryExtensions.UseRequestLatencyTelemetry Methode

Definition

Fügt die Telemetrie-Middleware IApplicationBuilder der Anforderungsausführungspipeline hinzu.

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

Gibt zurück

Die IApplicationBuilder-Schnittstelle zur Verkettung weiterer Aufrufe.

Ausnahmen

builder ist null.

Gilt für: