Search Results for

    Show / Hide Table of Contents
    View Source

    Class HealthCheckAttribute

    Metadata attribute for Health checks.

    Inheritance
    object
    Attribute
    Namespace: Umbraco.Cms.Core.HealthChecks
    Assembly: Umbraco.Core.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class)]
    public sealed class HealthCheckAttribute : Attribute

    Constructors

    View Source

    HealthCheckAttribute(string, string)

    Initializes a new instance of the HealthCheckAttribute class.

    Declaration
    public HealthCheckAttribute(string id, string name)
    Parameters
    Type Name Description
    string id

    The unique identifier for the health check as a GUID string.

    string name

    The display name of the health check.

    Properties

    View Source

    Description

    Gets or sets the description of the health check.

    Declaration
    public string? Description { get; set; }
    Property Value
    Type Description
    string
    View Source

    Group

    Gets or sets the group this health check belongs to.

    Declaration
    public string? Group { get; set; }
    Property Value
    Type Description
    string
    View Source

    Id

    Gets the unique identifier of the health check.

    Declaration
    public Guid Id { get; }
    Property Value
    Type Description
    Guid
    View Source

    Name

    Gets the display name of the health check.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX