IManualHealthCheck<T> Interface
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.
Lets you manually set the application's health status.
generic <typename T>
public interface class IManualHealthCheck : IDisposable, Microsoft::Extensions::Diagnostics::HealthChecks::IManualHealthCheck
public interface IManualHealthCheck<T> : IDisposable, Microsoft.Extensions.Diagnostics.HealthChecks.IManualHealthCheck
type IManualHealthCheck<'T> = interface
interface IManualHealthCheck
interface IDisposable
Public Interface IManualHealthCheck(Of T)
Implements IDisposable, IManualHealthCheck
- T
The type of IManualHealthCheck.
- Implements
Result |
Gets or sets the health status. (Inherited from IManualHealthCheck) |
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) |
Report |
Sets the manual health check to the healthy state. |
Report |
Sets the manual health check to return an unhealthy states and an associated reason. |
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: