Partager via


RequestLatencyTelemetryExtensions.AddRequestLatencyTelemetry Méthode

Définition

Surcharges

AddRequestLatencyTelemetry(IServiceCollection)

Ajoute l’intergiciel de télémétrie de latence des requêtes au spécifié IServiceCollection.

AddRequestLatencyTelemetry(IServiceCollection, IConfigurationSection)

Ajoute l’intergiciel de télémétrie de latence des requêtes au spécifié IServiceCollection.

AddRequestLatencyTelemetry(IServiceCollection, Action<RequestLatencyTelemetryOptions>)

Ajoute l’intergiciel de télémétrie de latence des requêtes au spécifié IServiceCollection.

AddRequestLatencyTelemetry(IServiceCollection)

Source:
RequestLatencyTelemetryExtensions.cs

Ajoute l’intergiciel de télémétrie de latence des requêtes au spécifié IServiceCollection.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestLatencyTelemetry (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddRequestLatencyTelemetry : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRequestLatencyTelemetry (services As IServiceCollection) As IServiceCollection

Paramètres

services
IServiceCollection

IServiceCollection auquel ajouter.

Retours

Collecte de services fournie avec l’intergiciel de télémétrie de latence des requêtes ajouté.

Exceptions

services a la valeur null.

S’applique à

AddRequestLatencyTelemetry(IServiceCollection, IConfigurationSection)

Source:
RequestLatencyTelemetryExtensions.cs

Ajoute l’intergiciel de télémétrie de latence des requêtes au spécifié IServiceCollection.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestLatencyTelemetry (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member AddRequestLatencyTelemetry : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRequestLatencyTelemetry (services As IServiceCollection, section As IConfigurationSection) As IServiceCollection

Paramètres

services
IServiceCollection

IServiceCollection auquel ajouter.

Retours

Collecte de services fournie avec l’intergiciel de télémétrie de latence des requêtes ajouté.

Exceptions

services ou section a la valeur null.

S’applique à

AddRequestLatencyTelemetry(IServiceCollection, Action<RequestLatencyTelemetryOptions>)

Source:
RequestLatencyTelemetryExtensions.cs

Ajoute l’intergiciel de télémétrie de latence des requêtes au spécifié IServiceCollection.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestLatencyTelemetry (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.Telemetry.RequestLatencyTelemetryOptions> configure);
static member AddRequestLatencyTelemetry : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.Telemetry.RequestLatencyTelemetryOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRequestLatencyTelemetry (services As IServiceCollection, configure As Action(Of RequestLatencyTelemetryOptions)) As IServiceCollection

Paramètres

services
IServiceCollection

IServiceCollection auquel ajouter.

Retours

Collecte de services fournie avec l’intergiciel de télémétrie de latence des requêtes ajouté.

Exceptions

services ou configure a la valeur null.

S’applique à