Bagikan melalui


ProcessEnricherServiceCollectionExtensions.AddProcessLogEnricher Metode

Definisi

Overload

AddProcessLogEnricher(IServiceCollection)

Menambahkan instans pengaya proses ke IServiceCollection.

AddProcessLogEnricher(IServiceCollection, IConfigurationSection)

Menambahkan instans pengaya host ke IServiceCollection.

AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>)

Menambahkan instans pengaya proses ke IServiceCollection.

AddProcessLogEnricher(IServiceCollection)

Sumber:
ProcessEnricherServiceCollectionExtensions.cs
Sumber:
ProcessEnricherServiceCollectionExtensions.cs

Menambahkan instans pengaya proses ke 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

Parameter

services
IServiceCollection

IServiceCollection untuk menambahkan pengaya proses.

Mengembalikan

Nilai dari services.

Pengecualian

servicesadalah null.

Berlaku untuk

AddProcessLogEnricher(IServiceCollection, IConfigurationSection)

Sumber:
ProcessEnricherServiceCollectionExtensions.cs
Sumber:
ProcessEnricherServiceCollectionExtensions.cs

Menambahkan instans pengaya host ke 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

Parameter

services
IServiceCollection

IServiceCollection untuk menambahkan pengaya proses.

section
IConfigurationSection

yang IConfigurationSection digunakan untuk mengonfigurasi ProcessLogEnricherOptions dalam pengaya proses.

Mengembalikan

Nilai dari services.

Pengecualian

Salah satu argumennya adalah null.

Berlaku untuk

AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>)

Sumber:
ProcessEnricherServiceCollectionExtensions.cs
Sumber:
ProcessEnricherServiceCollectionExtensions.cs

Menambahkan instans pengaya proses ke 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

Parameter

services
IServiceCollection

IServiceCollection untuk menambahkan pengaya proses.

Mengembalikan

Nilai dari services.

Pengecualian

Salah satu argumennya adalah null.

Berlaku untuk