Udostępnij za pośrednictwem


ProcessEnricherServiceCollectionExtensions.AddProcessLogEnricher Metoda

Definicja

Przeciążenia

AddProcessLogEnricher(IServiceCollection)

Dodaje wystąpienie wzbogacacza procesu do obiektu IServiceCollection.

AddProcessLogEnricher(IServiceCollection, IConfigurationSection)

Dodaje wystąpienie wzbogacacza hosta do obiektu IServiceCollection.

AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>)

Dodaje wystąpienie wzbogacacza procesu do obiektu IServiceCollection.

AddProcessLogEnricher(IServiceCollection)

Źródło:
ProcessEnricherServiceCollectionExtensions.cs
Źródło:
ProcessEnricherServiceCollectionExtensions.cs

Dodaje wystąpienie wzbogacacza procesu do obiektu IServiceCollection.

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

Parametry

services
IServiceCollection

Element IServiceCollection do dodawania wzbogacacza procesu.

Zwraca

Wartość .services

Wyjątki

services to null.

Dotyczy

AddProcessLogEnricher(IServiceCollection, IConfigurationSection)

Źródło:
ProcessEnricherServiceCollectionExtensions.cs
Źródło:
ProcessEnricherServiceCollectionExtensions.cs

Dodaje wystąpienie wzbogacacza hosta do obiektu IServiceCollection.

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

Parametry

services
IServiceCollection

Element IServiceCollection do dodawania wzbogacacza procesu.

section
IConfigurationSection

Element IConfigurationSection do użycia do konfigurowania ProcessLogEnricherOptions w wzbogacaniu procesu.

Zwraca

Wartość .services

Wyjątki

Dowolny z argumentów to null.

Dotyczy

AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>)

Źródło:
ProcessEnricherServiceCollectionExtensions.cs
Źródło:
ProcessEnricherServiceCollectionExtensions.cs

Dodaje wystąpienie wzbogacacza procesu do obiektu IServiceCollection.

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

Parametry

services
IServiceCollection

Element IServiceCollection do dodawania wzbogacacza procesu.

Zwraca

Wartość .services

Wyjątki

Dowolny z argumentów to null.

Dotyczy