Compartilhar via


LatencyConsoleExtensions.AddConsoleLatencyDataExporter Método

Definição

Sobrecargas

AddConsoleLatencyDataExporter(IServiceCollection)

Adicione o exportador de dados de latência para o console.

AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection)

Adicione o exportador de dados de latência para o console.

AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>)

Adicione o exportador de dados de latência para o console.

AddConsoleLatencyDataExporter(IServiceCollection)

Origem:
LatencyConsoleExtensions.cs

Adicione o exportador de dados de latência para o console.

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

Contêiner de injeção de dependência.

Retornos

O valor de services.

Exceções

services é null.

Aplica-se a

AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection)

Origem:
LatencyConsoleExtensions.cs

Adicione o exportador de dados de latência para o console.

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

Contêiner de injeção de dependência.

section
IConfigurationSection

Configuração de LatencyConsoleOptions.

Retornos

O valor de services.

Exceções

O services ou section é null.

Aplica-se a

AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>)

Origem:
LatencyConsoleExtensions.cs

Adicione o exportador de dados de latência para o console.

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

Contêiner de injeção de dependência.

configure
Action<LatencyConsoleOptions>

LatencyConsoleOptions delegado de configuração.

Retornos

O valor de services.

Exceções

O services ou configure é null.

Aplica-se a