ProcessEnricherServiceCollectionExtensions.AddProcessLogEnricher Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| AddProcessLogEnricher(IServiceCollection) |
Fügt der Prozessreicherung eine Instanz des Prozesses hinzu IServiceCollection. |
| AddProcessLogEnricher(IServiceCollection, IConfigurationSection) |
Fügt eine Instanz des Host-Anreicherers zur IServiceCollection. |
| AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>) |
Fügt der Prozessreicherung eine Instanz des Prozesses hinzu IServiceCollection. |
AddProcessLogEnricher(IServiceCollection)
Fügt der Prozessreicherung eine Instanz des Prozesses hinzu 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
Der IServiceCollection Prozesserreicherer wird hinzugefügt.
Gibt zurück
Der Wert von services.
Ausnahmen
services ist null.
Gilt für:
AddProcessLogEnricher(IServiceCollection, IConfigurationSection)
Fügt eine Instanz des Host-Anreicherers zur 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
Der IServiceCollection Prozesserreicherer wird hinzugefügt.
- section
- IConfigurationSection
Die IConfigurationSection zu verwendende Konfiguration ProcessLogEnricherOptions im Prozessreicherer.
Gibt zurück
Der Wert von services.
Ausnahmen
Eines der Argumente ist null.
Gilt für:
AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>)
Fügt der Prozessreicherung eine Instanz des Prozesses hinzu 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
Der IServiceCollection Prozesserreicherer wird hinzugefügt.
- configure
- Action<ProcessLogEnricherOptions>
Der ProcessLogEnricherOptions Konfigurationsdelegat.
Gibt zurück
Der Wert von services.
Ausnahmen
Eines der Argumente ist null.