共用方式為


HealthCheckEndpointRouteBuilderExtensions 類別

定義

提供 用於 IEndpointRouteBuilder 新增健康情況檢查的擴充方法。

public ref class HealthCheckEndpointRouteBuilderExtensions abstract sealed
public static class HealthCheckEndpointRouteBuilderExtensions
type HealthCheckEndpointRouteBuilderExtensions = class
Public Module HealthCheckEndpointRouteBuilderExtensions
繼承
HealthCheckEndpointRouteBuilderExtensions

方法

MapHealthChecks(IEndpointRouteBuilder, String)

使用指定的範本,將健康情況檢查端點新增至 IEndpointRouteBuilder

MapHealthChecks(IEndpointRouteBuilder, String, HealthCheckOptions)

使用指定的範本和選項,將健康情況檢查端點新增至 IEndpointRouteBuilder

適用於