View Source
Class NotificationMethodBase
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public abstract class NotificationMethodBase : IHealthCheckNotificationMethod, IDiscoverable
Constructors
View Source
NotificationMethodBase()
Declaration
protected NotificationMethodBase()
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 IReadOnlyDictionary<string, INotificationMethodSettings> Settings { get; }
Property Value
View Source
Verbosity
Declaration
public HealthCheckNotificationVerbosity Verbosity { get; protected set; }
Property Value
Methods
View Source
SendAsync(HealthCheckResults, CancellationToken)
Declaration
public abstract Task SendAsync(HealthCheckResults results, CancellationToken token)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
View Source
ShouldSend(HealthCheckResults)
Declaration
protected bool ShouldSend(HealthCheckResults results)
Parameters
Returns
Type |
Description |
System.Boolean |
|