다음을 통해 공유


ProcessEnricherServiceCollectionExtensions.AddProcessLogEnricher 메서드

정의

오버로드

AddProcessLogEnricher(IServiceCollection)

프로세스 보강자의 instance 에 IServiceCollection추가합니다.

AddProcessLogEnricher(IServiceCollection, IConfigurationSection)

호스트 보강자의 instance 에 IServiceCollection추가합니다.

AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>)

프로세스 보강자의 instance 에 IServiceCollection추가합니다.

AddProcessLogEnricher(IServiceCollection)

Source:
ProcessEnricherServiceCollectionExtensions.cs
Source:
ProcessEnricherServiceCollectionExtensions.cs

프로세스 보강자의 instance 에 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

매개 변수

services
IServiceCollection

IServiceCollection 프로세스 보강자를 추가할 입니다.

반환

services의 값

예외

servicesnull입니다.

적용 대상

AddProcessLogEnricher(IServiceCollection, IConfigurationSection)

Source:
ProcessEnricherServiceCollectionExtensions.cs
Source:
ProcessEnricherServiceCollectionExtensions.cs

호스트 보강자의 instance 에 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

매개 변수

services
IServiceCollection

IServiceCollection 프로세스 보강자를 추가할 입니다.

section
IConfigurationSection

IConfigurationSection 프로세스 보강자에서 구성하는 ProcessLogEnricherOptions 데 사용할 입니다.

반환

services의 값

예외

모든 인수는 입니다 null.

적용 대상

AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>)

Source:
ProcessEnricherServiceCollectionExtensions.cs
Source:
ProcessEnricherServiceCollectionExtensions.cs

프로세스 보강자의 instance 에 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

매개 변수

services
IServiceCollection

IServiceCollection 프로세스 보강자를 추가할 입니다.

configure
Action<ProcessLogEnricherOptions>

ProcessLogEnricherOptions 구성 대리자입니다.

반환

services의 값

예외

모든 인수는 입니다 null.

적용 대상