ResourceMonitoringBuilderExtensions.ConfigureMonitor 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
ConfigureMonitor(IResourceMonitorBuilder, IConfigurationSection) |
Konfiguriert den Ressourcenmonitor. |
ConfigureMonitor(IResourceMonitorBuilder, Action<ResourceMonitoringOptions>) |
Konfiguriert den Ressourcenmonitor. |
ConfigureMonitor(IResourceMonitorBuilder, IConfigurationSection)
Konfiguriert den Ressourcenmonitor.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Diagnostics::ResourceMonitoring::IResourceMonitorBuilder ^ ConfigureMonitor(Microsoft::Extensions::Diagnostics::ResourceMonitoring::IResourceMonitorBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.Diagnostics.ResourceMonitoring.IResourceMonitorBuilder ConfigureMonitor (this Microsoft.Extensions.Diagnostics.ResourceMonitoring.IResourceMonitorBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member ConfigureMonitor : Microsoft.Extensions.Diagnostics.ResourceMonitoring.IResourceMonitorBuilder * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.Diagnostics.ResourceMonitoring.IResourceMonitorBuilder
<Extension()>
Public Function ConfigureMonitor (builder As IResourceMonitorBuilder, section As IConfigurationSection) As IResourceMonitorBuilder
Parameter
- builder
- IResourceMonitorBuilder
Der Generator instance zum Konfigurieren des Trackers verwendet.
- section
- IConfigurationSection
Die , die IConfigurationSection zum Konfigurieren von verwendet werden ResourceMonitoringOptionssoll.
Gibt zurück
Der Wert von builder
.
Ausnahmen
Entweder builder
oder section
ist null
.
Gilt für:
ConfigureMonitor(IResourceMonitorBuilder, Action<ResourceMonitoringOptions>)
Konfiguriert den Ressourcenmonitor.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Diagnostics::ResourceMonitoring::IResourceMonitorBuilder ^ ConfigureMonitor(Microsoft::Extensions::Diagnostics::ResourceMonitoring::IResourceMonitorBuilder ^ builder, Action<Microsoft::Extensions::Diagnostics::ResourceMonitoring::ResourceMonitoringOptions ^> ^ configure);
public static Microsoft.Extensions.Diagnostics.ResourceMonitoring.IResourceMonitorBuilder ConfigureMonitor (this Microsoft.Extensions.Diagnostics.ResourceMonitoring.IResourceMonitorBuilder builder, Action<Microsoft.Extensions.Diagnostics.ResourceMonitoring.ResourceMonitoringOptions> configure);
static member ConfigureMonitor : Microsoft.Extensions.Diagnostics.ResourceMonitoring.IResourceMonitorBuilder * Action<Microsoft.Extensions.Diagnostics.ResourceMonitoring.ResourceMonitoringOptions> -> Microsoft.Extensions.Diagnostics.ResourceMonitoring.IResourceMonitorBuilder
<Extension()>
Public Function ConfigureMonitor (builder As IResourceMonitorBuilder, configure As Action(Of ResourceMonitoringOptions)) As IResourceMonitorBuilder
Parameter
- builder
- IResourceMonitorBuilder
Der Generator instance zum Konfigurieren des Trackers verwendet.
- configure
- Action<ResourceMonitoringOptions>
Delegieren zum Konfigurieren ResourceMonitoringOptionsvon .
Gibt zurück
Der Wert von builder
.
Ausnahmen
Entweder builder
oder configure
ist null
.