Partager via


LatencyConsoleExtensions.AddConsoleLatencyDataExporter Méthode

Définition

Surcharges

AddConsoleLatencyDataExporter(IServiceCollection)

Ajoutez un exportateur de données de latence pour la console.

AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection)

Ajoutez un exportateur de données de latence pour la console.

AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>)

Ajoutez un exportateur de données de latence pour la console.

AddConsoleLatencyDataExporter(IServiceCollection)

Source:
LatencyConsoleExtensions.cs
Source:
LatencyConsoleExtensions.cs

Ajoutez un exportateur de données de latence pour la console.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddConsoleLatencyDataExporter(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddConsoleLatencyDataExporter (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddConsoleLatencyDataExporter : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddConsoleLatencyDataExporter (services As IServiceCollection) As IServiceCollection

Paramètres

services
IServiceCollection

Conteneur d’injection de dépendances.

Retours

la valeur de la propriété services ;

Exceptions

services a la valeur null.

S’applique à

AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection)

Source:
LatencyConsoleExtensions.cs
Source:
LatencyConsoleExtensions.cs

Ajoutez un exportateur de données de latence pour la console.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddConsoleLatencyDataExporter(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddConsoleLatencyDataExporter (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member AddConsoleLatencyDataExporter : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddConsoleLatencyDataExporter (services As IServiceCollection, section As IConfigurationSection) As IServiceCollection

Paramètres

services
IServiceCollection

Conteneur d’injection de dépendances.

section
IConfigurationSection

Configuration de LatencyConsoleOptions.

Retours

la valeur de la propriété services ;

Exceptions

services ou section a la valeur null.

S’applique à

AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>)

Source:
LatencyConsoleExtensions.cs
Source:
LatencyConsoleExtensions.cs

Ajoutez un exportateur de données de latence pour la console.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddConsoleLatencyDataExporter(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action<Microsoft::Extensions::Diagnostics::Latency::LatencyConsoleOptions ^> ^ configure);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddConsoleLatencyDataExporter (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Diagnostics.Latency.LatencyConsoleOptions> configure);
static member AddConsoleLatencyDataExporter : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.Diagnostics.Latency.LatencyConsoleOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddConsoleLatencyDataExporter (services As IServiceCollection, configure As Action(Of LatencyConsoleOptions)) As IServiceCollection

Paramètres

services
IServiceCollection

Conteneur d’injection de dépendances.

configure
Action<LatencyConsoleOptions>

LatencyConsoleOptions délégué de configuration.

Retours

la valeur de la propriété services ;

Exceptions

services ou configure a la valeur null.

S’applique à