LatencyContextExtensions.AddLatencyContext Metodo

Definizione

Overload

AddLatencyContext(IServiceCollection)

Aggiunge il contesto di latenza.

AddLatencyContext(IServiceCollection, IConfigurationSection)

Aggiunge il contesto di latenza.

AddLatencyContext(IServiceCollection, Action<LatencyContextOptions>)

Aggiunge il contesto di latenza.

AddLatencyContext(IServiceCollection)

Aggiunge il contesto di latenza.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddLatencyContext(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddLatencyContext (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddLatencyContext : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddLatencyContext (services As IServiceCollection) As IServiceCollection

Parametri

services
IServiceCollection

Contenitore di inserimento delle dipendenze.

Restituisce

Valore di services.

Si applica a

AddLatencyContext(IServiceCollection, IConfigurationSection)

Aggiunge il contesto di latenza.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddLatencyContext(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddLatencyContext (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member AddLatencyContext : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddLatencyContext (services As IServiceCollection, section As IConfigurationSection) As IServiceCollection

Parametri

services
IServiceCollection

Contenitore di inserimento delle dipendenze.

section
IConfigurationSection

Configurazione di LatencyContextOptions.

Restituisce

Valore di services.

Si applica a

AddLatencyContext(IServiceCollection, Action<LatencyContextOptions>)

Aggiunge il contesto di latenza.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddLatencyContext(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action<Microsoft::Extensions::Diagnostics::Latency::LatencyContextOptions ^> ^ configure);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddLatencyContext (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Diagnostics.Latency.LatencyContextOptions> configure);
static member AddLatencyContext : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.Diagnostics.Latency.LatencyContextOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddLatencyContext (services As IServiceCollection, configure As Action(Of LatencyContextOptions)) As IServiceCollection

Parametri

services
IServiceCollection

Contenitore di inserimento delle dipendenze.

configure
Action<LatencyContextOptions>

Delegato di configurazione di LatencyContextOptions.

Restituisce

Valore di services.

Si applica a