Class HealthCheckNotificationMethodAttribute
Metadata attribute for health check notification methods.
Inheritance
object
Attribute
Namespace: Umbraco.Cms.Core.HealthChecks
Assembly: Umbraco.Core.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public sealed class HealthCheckNotificationMethodAttribute : Attribute
Constructors
View SourceHealthCheckNotificationMethodAttribute(string)
Initializes a new instance of the HealthCheckNotificationMethodAttribute class.
Declaration
public HealthCheckNotificationMethodAttribute(string alias)
Parameters
| Type | Name | Description |
|---|---|---|
| string | alias | The alias for the notification method. |
Properties
View SourceAlias
Gets the alias for the notification method.
Declaration
public string Alias { get; }
Property Value
| Type | Description |
|---|---|
| string |