Udostępnij za pośrednictwem


LatencyConsoleExtensions.AddConsoleLatencyDataExporter Metoda

Definicja

Przeciążenia

AddConsoleLatencyDataExporter(IServiceCollection)

Dodaj eksportera danych opóźnienia dla konsoli programu .

AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection)

Dodaj eksportera danych opóźnienia dla konsoli programu .

AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>)

Dodaj eksportera danych opóźnienia dla konsoli programu .

AddConsoleLatencyDataExporter(IServiceCollection)

Źródło:
LatencyConsoleExtensions.cs

Dodaj eksportera danych opóźnienia dla konsoli programu .

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

Kontener wstrzykiwania zależności.

Zwraca

Wartość .services

Wyjątki

services to null.

Dotyczy

AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection)

Źródło:
LatencyConsoleExtensions.cs

Dodaj eksportera danych opóźnienia dla konsoli programu .

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

Kontener wstrzykiwania zależności.

section
IConfigurationSection

Konfiguracja elementu LatencyConsoleOptions.

Zwraca

Wartość .services

Wyjątki

Wartość services lub section ma wartość null.

Dotyczy

AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>)

Źródło:
LatencyConsoleExtensions.cs

Dodaj eksportera danych opóźnienia dla konsoli programu .

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

Kontener wstrzykiwania zależności.

configure
Action<LatencyConsoleOptions>

LatencyConsoleOptions delegat konfiguracji.

Zwraca

Wartość .services

Wyjątki

Wartość services lub configure ma wartość null.

Dotyczy