Partager via


HealthCheckMiddleware Constructeur

Définition

Crée une instance de 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)

Paramètres

healthCheckOptions
IOptions<HealthCheckOptions>
healthCheckService
HealthCheckService

S’applique à