Condividi tramite


ProcessEnricherServiceCollectionExtensions.AddProcessLogEnricher Metodo

Definizione

Overload

AddProcessLogEnricher(IServiceCollection)

Aggiunge un'istanza dell'arricchimento del processo a IServiceCollection.

AddProcessLogEnricher(IServiceCollection, IConfigurationSection)

Aggiunge un'istanza dell'arricchimento host a IServiceCollection.

AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>)

Aggiunge un'istanza dell'arricchimento del processo a IServiceCollection.

AddProcessLogEnricher(IServiceCollection)

Origine:
ProcessEnricherServiceCollectionExtensions.cs
Origine:
ProcessEnricherServiceCollectionExtensions.cs

Aggiunge un'istanza dell'arricchimento del processo a 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

Parametri

services
IServiceCollection

Oggetto IServiceCollection a cui aggiungere l'arricchimento del processo.

Restituisce

Valore di services.

Eccezioni

services è null.

Si applica a

AddProcessLogEnricher(IServiceCollection, IConfigurationSection)

Origine:
ProcessEnricherServiceCollectionExtensions.cs
Origine:
ProcessEnricherServiceCollectionExtensions.cs

Aggiunge un'istanza dell'arricchimento host a 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

Parametri

services
IServiceCollection

Oggetto IServiceCollection a cui aggiungere l'arricchimento del processo.

section
IConfigurationSection

Oggetto IConfigurationSection da usare per la configurazione ProcessLogEnricherOptions nell'arricchimento del processo.

Restituisce

Valore di services.

Eccezioni

Qualsiasi argomento è null.

Si applica a

AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>)

Origine:
ProcessEnricherServiceCollectionExtensions.cs
Origine:
ProcessEnricherServiceCollectionExtensions.cs

Aggiunge un'istanza dell'arricchimento del processo a 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

Parametri

services
IServiceCollection

Oggetto IServiceCollection a cui aggiungere l'arricchimento del processo.

configure
Action<ProcessLogEnricherOptions>

Delegato di configurazione di ProcessLogEnricherOptions.

Restituisce

Valore di services.

Eccezioni

Qualsiasi argomento è null.

Si applica a