Sdílet prostřednictvím


LatencyConsoleExtensions.AddConsoleLatencyDataExporter Metoda

Definice

Přetížení

AddConsoleLatencyDataExporter(IServiceCollection)

Přidejte exportér dat latence pro konzolu.

AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection)

Přidejte exportér dat latence pro konzolu.

AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>)

Přidejte exportér dat latence pro konzolu.

AddConsoleLatencyDataExporter(IServiceCollection)

Zdroj:
LatencyConsoleExtensions.cs
Zdroj:
LatencyConsoleExtensions.cs

Přidejte exportér dat latence pro konzolu.

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

Parametry

services
IServiceCollection

Kontejner injektáže závislostí.

Návraty

Hodnota .services

Výjimky

services je null.

Platí pro

AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection)

Zdroj:
LatencyConsoleExtensions.cs
Zdroj:
LatencyConsoleExtensions.cs

Přidejte exportér dat latence pro konzolu.

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

Parametry

services
IServiceCollection

Kontejner injektáže závislostí.

section
IConfigurationSection

Konfigurace nástroje LatencyConsoleOptions.

Návraty

Hodnota .services

Výjimky

Buď services nebo section je null.

Platí pro

AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>)

Zdroj:
LatencyConsoleExtensions.cs
Zdroj:
LatencyConsoleExtensions.cs

Přidejte exportér dat latence pro konzolu.

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

Parametry

services
IServiceCollection

Kontejner injektáže závislostí.

configure
Action<LatencyConsoleOptions>

LatencyConsoleOptions delegáta konfigurace.

Návraty

Hodnota .services

Výjimky

Buď services nebo configure je null.

Platí pro