Interface IHealthCheckNotificationMethod
Defines a method for sending health check notifications.
Namespace: Umbraco.Cms.Core.HealthChecks.NotificationMethods
Assembly: Umbraco.Core.dll
Syntax
public interface IHealthCheckNotificationMethod : IDiscoverable
Properties
View SourceEnabled
Gets a value indicating whether this notification method is enabled.
Declaration
bool Enabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
View SourceSendAsync(HealthCheckResults)
Sends the health check results via this notification method.
Declaration
Task SendAsync(HealthCheckResults results)
Parameters
| Type | Name | Description |
|---|---|---|
| HealthCheckResults | results | The health check results to send. |
Returns
| Type | Description |
|---|---|
| Task | A task representing the asynchronous operation. |