LatencyConsoleExtensions.AddConsoleLatencyDataExporter Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
| Name | Description |
|---|---|
| AddConsoleLatencyDataExporter(IServiceCollection) |
Lägg till dataexportör för svarstid för konsolen. |
| AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection) |
Lägg till dataexportör för svarstid för konsolen. |
| AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>) |
Lägg till dataexportör för svarstid för konsolen. |
AddConsoleLatencyDataExporter(IServiceCollection)
Lägg till dataexportör för svarstid för konsolen.
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
Parametrar
- services
- IServiceCollection
Container för beroendeinmatning.
Returer
Värdet för services.
Undantag
services är null.
Gäller för
AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection)
Lägg till dataexportör för svarstid för konsolen.
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
Parametrar
- services
- IServiceCollection
Container för beroendeinmatning.
- section
- IConfigurationSection
Konfiguration av LatencyConsoleOptions.
Returer
Värdet för services.
Undantag
Antingen services eller section är null.
Gäller för
AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>)
Lägg till dataexportör för svarstid för konsolen.
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
Parametrar
- services
- IServiceCollection
Container för beroendeinmatning.
- configure
- Action<LatencyConsoleOptions>
LatencyConsoleOptions konfigurationsdelegat.
Returer
Värdet för services.
Undantag
Antingen services eller configure är null.