Partilhar via


HealthCheckMiddleware Construtor

Definição

Cria uma nova instância 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)

Parâmetros

healthCheckOptions
IOptions<HealthCheckOptions>
healthCheckService
HealthCheckService

Aplica-se a