ResourceMonitoringBuilderExtensions.ConfigureMonitor Método

Definição

Sobrecargas

ConfigureMonitor(IResourceMonitorBuilder, IConfigurationSection)

Configura o monitor de recursos.

ConfigureMonitor(IResourceMonitorBuilder, Action<ResourceMonitoringOptions>)

Configura o monitor de recursos.

ConfigureMonitor(IResourceMonitorBuilder, IConfigurationSection)

Origem:
ResourceMonitoringBuilderExtensions.cs
Origem:
ResourceMonitoringBuilderExtensions.cs

Configura o monitor de recursos.

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

Parâmetros

builder
IResourceMonitorBuilder

A instância do construtor usada para configurar o rastreador.

Retornos

O valor de builder.

Exceções

O builder ou section é null.

Aplica-se a

ConfigureMonitor(IResourceMonitorBuilder, Action<ResourceMonitoringOptions>)

Origem:
ResourceMonitoringBuilderExtensions.cs
Origem:
ResourceMonitoringBuilderExtensions.cs

Configura o monitor de recursos.

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

Parâmetros

builder
IResourceMonitorBuilder

A instância do construtor usada para configurar o rastreador.

configure
Action<ResourceMonitoringOptions>

Delegar para configurar ResourceMonitoringOptions.

Retornos

O valor de builder.

Exceções

O builder ou configure é null.

Aplica-se a