Share via


HealthCheckMiddleware Constructor

Definition

Creates a new instance of 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)

Parameters

healthCheckOptions
IOptions<HealthCheckOptions>
healthCheckService
HealthCheckService

Applies to