View Source
Class HealthCheck
Provides a base class for health checks.
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[DataContract(Name = "healtCheck", Namespace = "")]
public abstract class HealthCheck : IDiscoverable
Constructors
View Source
HealthCheck()
Declaration
Properties
View Source
Description
Declaration
[DataMember(Name = "description")]
public string Description { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Group
Declaration
[DataMember(Name = "group")]
public string Group { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Id
Declaration
[DataMember(Name = "id")]
public Guid Id { get; }
Property Value
Type |
Description |
System.Guid |
|
View Source
Name
Declaration
[DataMember(Name = "name")]
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Methods
View Source
ExecuteAction(HealthCheckAction)
Executes the action and returns it's status
Declaration
public abstract HealthCheckStatus ExecuteAction(HealthCheckAction action)
Parameters
Returns
View Source
GetStatus()
Get the status for this health check
Declaration
public abstract IEnumerable<HealthCheckStatus> GetStatus()
Returns