HealthCheckMiddleware 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建 HealthCheckMiddleware 的新实例。
public:
HealthCheckMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Diagnostics::HealthChecks::HealthCheckOptions ^> ^ healthCheckOptions, Microsoft::Extensions::Diagnostics::HealthChecks::HealthCheckService ^ healthCheckService);
public HealthCheckMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckOptions> healthCheckOptions, Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckService healthCheckService);
new Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckOptions> * Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckService -> Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckMiddleware
Public Sub New (next As RequestDelegate, healthCheckOptions As IOptions(Of HealthCheckOptions), healthCheckService As HealthCheckService)
参数
- next
- RequestDelegate
- healthCheckOptions
- IOptions<HealthCheckOptions>
- healthCheckService
- HealthCheckService