Search Results for

    Show / Hide Table of Contents
    View Source

    Class NotificationMethodBase

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.HealthChecks.NotificationMethods
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class NotificationMethodBase : IHealthCheckNotificationMethod, IDiscoverable

    Constructors

    View Source

    NotificationMethodBase(IOptionsMonitor<HealthChecksSettings>)

    Declaration
    protected NotificationMethodBase(IOptionsMonitor<HealthChecksSettings> healthCheckSettings)
    Parameters
    Type Name Description
    IOptionsMonitor<HealthChecksSettings> healthCheckSettings

    Properties

    View Source

    Enabled

    Declaration
    public bool Enabled { get; protected set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    FailureOnly

    Declaration
    public bool FailureOnly { get; protected set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    Settings

    Declaration
    public IDictionary<string, string>? Settings { get; }
    Property Value
    Type Description
    System.Nullable<IDictionary<System.String, System.String>>
    View Source

    Verbosity

    Declaration
    public HealthCheckNotificationVerbosity Verbosity { get; protected set; }
    Property Value
    Type Description
    HealthCheckNotificationVerbosity

    Methods

    View Source

    SendAsync(HealthCheckResults)

    Declaration
    public abstract Task SendAsync(HealthCheckResults results)
    Parameters
    Type Name Description
    HealthCheckResults results
    Returns
    Type Description
    Task
    View Source

    ShouldSend(HealthCheckResults)

    Declaration
    protected bool ShouldSend(HealthCheckResults results)
    Parameters
    Type Name Description
    HealthCheckResults results
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • NotificationMethodBase(IOptionsMonitor<HealthChecksSettings>)
    • Properties
      • Enabled
      • FailureOnly
      • Settings
      • Verbosity
    • Methods
      • SendAsync(HealthCheckResults)
      • ShouldSend(HealthCheckResults)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX