Sdílet prostřednictvím


ProcessEnricherServiceCollectionExtensions.AddProcessLogEnricher Metoda

Definice

Přetížení

AddProcessLogEnricher(IServiceCollection)

Přidá instanci rozšiřujícího procesu do objektu IServiceCollection.

AddProcessLogEnricher(IServiceCollection, IConfigurationSection)

Přidá instanci rozšiřovače hostitele do objektu IServiceCollection.

AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>)

Přidá instanci rozšiřujícího procesu do objektu IServiceCollection.

AddProcessLogEnricher(IServiceCollection)

Zdroj:
ProcessEnricherServiceCollectionExtensions.cs
Zdroj:
ProcessEnricherServiceCollectionExtensions.cs

Přidá instanci rozšiřujícího procesu do objektu 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

Chcete-li IServiceCollection přidat proces enricher do.

Návraty

Hodnota .services

Výjimky

services je null.

Platí pro

AddProcessLogEnricher(IServiceCollection, IConfigurationSection)

Zdroj:
ProcessEnricherServiceCollectionExtensions.cs
Zdroj:
ProcessEnricherServiceCollectionExtensions.cs

Přidá instanci rozšiřovače hostitele do objektu 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

Chcete-li IServiceCollection přidat proces enricher do.

section
IConfigurationSection

Slouží IConfigurationSection ke konfiguraci ProcessLogEnricherOptions v nástroji pro rozšiřování procesu.

Návraty

Hodnota .services

Výjimky

Kterýkoli z argumentů je null.

Platí pro

AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>)

Zdroj:
ProcessEnricherServiceCollectionExtensions.cs
Zdroj:
ProcessEnricherServiceCollectionExtensions.cs

Přidá instanci rozšiřujícího procesu do objektu 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

Chcete-li IServiceCollection přidat proces enricher do.

Návraty

Hodnota .services

Výjimky

Kterýkoli z argumentů je null.

Platí pro