LatencyConsoleExtensions.AddConsoleLatencyDataExporter Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
AddConsoleLatencyDataExporter(IServiceCollection) |
Tambahkan pengekspor data latensi untuk konsol. |
AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection) |
Tambahkan pengekspor data latensi untuk konsol. |
AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>) |
Tambahkan pengekspor data latensi untuk konsol. |
AddConsoleLatencyDataExporter(IServiceCollection)
- Sumber:
- LatencyConsoleExtensions.cs
- Sumber:
- LatencyConsoleExtensions.cs
Tambahkan pengekspor data latensi untuk konsol.
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
Parameter
- services
- IServiceCollection
Kontainer injeksi dependensi.
Mengembalikan
Nilai dari services
.
Pengecualian
services
adalah null
.
Berlaku untuk
AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection)
- Sumber:
- LatencyConsoleExtensions.cs
- Sumber:
- LatencyConsoleExtensions.cs
Tambahkan pengekspor data latensi untuk konsol.
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
Parameter
- services
- IServiceCollection
Kontainer injeksi dependensi.
- section
- IConfigurationSection
LatencyConsoleOptionsKonfigurasi .
Mengembalikan
Nilai dari services
.
Pengecualian
Baik services
atau section
adalah null
.
Berlaku untuk
AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>)
- Sumber:
- LatencyConsoleExtensions.cs
- Sumber:
- LatencyConsoleExtensions.cs
Tambahkan pengekspor data latensi untuk konsol.
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
Parameter
- services
- IServiceCollection
Kontainer injeksi dependensi.
- configure
- Action<LatencyConsoleOptions>
LatencyConsoleOptions delegasi konfigurasi.
Mengembalikan
Nilai dari services
.
Pengecualian
Baik services
atau configure
adalah null
.