共用方式為


ResourceUtilizationHealthCheckExtensions.AddResourceUtilizationHealthCheck 方法

定義

多載

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection)

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>)

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IEnumerable<String>)

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, String[])

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, IEnumerable<String>)

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, String[])

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, IEnumerable<String>)

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, String[])

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection)

來源:
ResourceUtilizationHealthCheckExtensions.cs

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, section As IConfigurationSection) As IHealthChecksBuilder

參數

builder
IHealthChecksBuilder

要加入提供者的產生器。

傳回

builder 的值。

例外狀況

buildersectionnull

適用於

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>)

來源:
ResourceUtilizationHealthCheckExtensions.cs

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, Action<Microsoft::Extensions::Diagnostics::HealthChecks::ResourceUtilizationHealthCheckOptions ^> ^ configure);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, Action<Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilizationHealthCheckOptions> configure);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * Action<Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilizationHealthCheckOptions> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, configure As Action(Of ResourceUtilizationHealthCheckOptions)) As IHealthChecksBuilder

參數

builder
IHealthChecksBuilder

要加入提供者的產生器。

configure
Action<ResourceUtilizationHealthCheckOptions>

組態回呼。

傳回

builder 的值。

例外狀況

builderconfigurenull

適用於

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IEnumerable<String>)

來源:
ResourceUtilizationHealthCheckExtensions.cs

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, System::Collections::Generic::IEnumerable<System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, System.Collections.Generic.IEnumerable<string> tags);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * seq<string> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, tags As IEnumerable(Of String)) As IHealthChecksBuilder

參數

builder
IHealthChecksBuilder

要加入提供者的產生器。

tags
IEnumerable<String>

可用來篩選健康狀態檢查的標籤清單。

傳回

builder 的值。

例外狀況

buildernull

適用於

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, String[])

來源:
ResourceUtilizationHealthCheckExtensions.cs

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, ... cli::array <System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, params string[] tags);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * string[] -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, ParamArray tags As String()) As IHealthChecksBuilder

參數

builder
IHealthChecksBuilder

要加入提供者的產生器。

tags
String[]

可用來篩選健康狀態檢查的標籤清單。

傳回

builder 的值。

例外狀況

buildernull

適用於

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, IEnumerable<String>)

來源:
ResourceUtilizationHealthCheckExtensions.cs

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section, System::Collections::Generic::IEnumerable<System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section, System.Collections.Generic.IEnumerable<string> tags);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * Microsoft.Extensions.Configuration.IConfigurationSection * seq<string> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, section As IConfigurationSection, tags As IEnumerable(Of String)) As IHealthChecksBuilder

參數

builder
IHealthChecksBuilder

要加入提供者的產生器。

section
IConfigurationSection

保留 實例的 ResourceUtilizationHealthCheckOptions組態區段。

tags
IEnumerable<String>

可用來篩選健康狀態檢查的標籤清單。

傳回

builder 的值。

例外狀況

buildersectiontagsnull

適用於

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, String[])

來源:
ResourceUtilizationHealthCheckExtensions.cs

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section, ... cli::array <System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section, params string[] tags);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * Microsoft.Extensions.Configuration.IConfigurationSection * string[] -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, section As IConfigurationSection, ParamArray tags As String()) As IHealthChecksBuilder

參數

builder
IHealthChecksBuilder

要加入提供者的產生器。

section
IConfigurationSection

保留 實例的 ResourceUtilizationHealthCheckOptions組態區段。

tags
String[]

可用來篩選健康狀態檢查的標籤清單。

傳回

builder 的值。

例外狀況

buildersectiontagsnull

適用於

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, IEnumerable<String>)

來源:
ResourceUtilizationHealthCheckExtensions.cs

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, Action<Microsoft::Extensions::Diagnostics::HealthChecks::ResourceUtilizationHealthCheckOptions ^> ^ configure, System::Collections::Generic::IEnumerable<System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, Action<Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilizationHealthCheckOptions> configure, System.Collections.Generic.IEnumerable<string> tags);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * Action<Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilizationHealthCheckOptions> * seq<string> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, configure As Action(Of ResourceUtilizationHealthCheckOptions), tags As IEnumerable(Of String)) As IHealthChecksBuilder

參數

builder
IHealthChecksBuilder

要加入提供者的產生器。

configure
Action<ResourceUtilizationHealthCheckOptions>

組態回呼。

tags
IEnumerable<String>

可用來篩選健康狀態檢查的標籤清單。

傳回

builder 的值。

例外狀況

builderconfiguretagsnull

適用於

AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action<ResourceUtilizationHealthCheckOptions>, String[])

來源:
ResourceUtilizationHealthCheckExtensions.cs

註冊健康情況檢查提供者,以監視資源使用率,以評估應用程式的健康情況。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddResourceUtilizationHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, Action<Microsoft::Extensions::Diagnostics::HealthChecks::ResourceUtilizationHealthCheckOptions ^> ^ configure, ... cli::array <System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddResourceUtilizationHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, Action<Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilizationHealthCheckOptions> configure, params string[] tags);
static member AddResourceUtilizationHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * Action<Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilizationHealthCheckOptions> * string[] -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddResourceUtilizationHealthCheck (builder As IHealthChecksBuilder, configure As Action(Of ResourceUtilizationHealthCheckOptions), ParamArray tags As String()) As IHealthChecksBuilder

參數

builder
IHealthChecksBuilder

要加入提供者的產生器。

configure
Action<ResourceUtilizationHealthCheckOptions>

組態回呼。

tags
String[]

可用來篩選健康狀態檢查的標籤清單。

傳回

builder 的值。

例外狀況

builderconfiguretagsnull

適用於