HealthCheckMiddleware Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- next
- RequestDelegate
- healthCheckOptions
- IOptions<HealthCheckOptions>
- healthCheckService
- HealthCheckService