ResourceMonitoringBuilderExtensions.ConfigureMonitor メソッド

定義

オーバーロード

ConfigureMonitor(IResourceMonitorBuilder, IConfigurationSection)

リソース モニターを構成します。

ConfigureMonitor(IResourceMonitorBuilder, Action<ResourceMonitoringOptions>)

リソース モニターを構成します。

ConfigureMonitor(IResourceMonitorBuilder, IConfigurationSection)

ソース:
ResourceMonitoringBuilderExtensions.cs

リソース モニターを構成します。

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

パラメーター

builder
IResourceMonitorBuilder

トラッカーの構成に使用されるビルダー インスタンス。

戻り値

builder の値。

例外

builder または section のいずれかが null です。

適用対象

ConfigureMonitor(IResourceMonitorBuilder, Action<ResourceMonitoringOptions>)

ソース:
ResourceMonitoringBuilderExtensions.cs

リソース モニターを構成します。

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

パラメーター

builder
IResourceMonitorBuilder

トラッカーの構成に使用されるビルダー インスタンス。

configure
Action<ResourceMonitoringOptions>

を構成 ResourceMonitoringOptionsするための委任。

戻り値

builder の値。

例外

builder または configure のいずれかが null です。

適用対象