Compartir vía


LatencyConsoleExtensions.AddConsoleLatencyDataExporter Método

Definición

Sobrecargas

AddConsoleLatencyDataExporter(IServiceCollection)

Agregue el exportador de datos de latencia para la consola.

AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection)

Agregue el exportador de datos de latencia para la consola.

AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>)

Agregue el exportador de datos de latencia para la consola.

AddConsoleLatencyDataExporter(IServiceCollection)

Source:
LatencyConsoleExtensions.cs

Agregue el exportador de datos de latencia para la consola.

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

Parámetros

services
IServiceCollection

Contenedor de inserción de dependencias.

Devoluciones

El valor de services.

Excepciones

services es null.

Se aplica a

AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection)

Source:
LatencyConsoleExtensions.cs

Agregue el exportador de datos de latencia para la consola.

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

Parámetros

services
IServiceCollection

Contenedor de inserción de dependencias.

section
IConfigurationSection

Configuración de LatencyConsoleOptions.

Devoluciones

El valor de services.

Excepciones

services o section es null.

Se aplica a

AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>)

Source:
LatencyConsoleExtensions.cs

Agregue el exportador de datos de latencia para la consola.

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

Parámetros

services
IServiceCollection

Contenedor de inserción de dependencias.

configure
Action<LatencyConsoleOptions>

LatencyConsoleOptions delegado de configuración.

Devoluciones

El valor de services.

Excepciones

services o configure es null.

Se aplica a