Partager via


RequestLatencyTelemetryExtensions.UseRequestLatencyTelemetry Méthode

Définition

Ajoute le middleware de télémétrie de latence des requêtes au pipeline d’exécution IApplicationBuilder de la demande.

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

Paramètres

Retours

IApplicationBuilder à utiliser pour chaîner des appels supplémentaires.

Exceptions

builder a la valeur null.

S’applique à