View Source
  Class HealthCheck
  
  Provides a base class for health checks, filling in the healthcheck metadata on construction
 
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    [DataContract(Name = "healthCheck", 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
  
  
    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 Task<IEnumerable<HealthCheckStatus>> GetStatus()
   
  Returns