Freigeben über


ClusterNotification Konstruktor

Definition

Initialisiert eine neue instance von ClusterNotification.

public ClusterNotification (bool isEnabled, Azure.ResourceManager.ServiceFabric.Models.ClusterNotificationCategory notificationCategory, Azure.ResourceManager.ServiceFabric.Models.ClusterNotificationLevel notificationLevel, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceFabric.Models.ClusterNotificationTarget> notificationTargets);
new Azure.ResourceManager.ServiceFabric.Models.ClusterNotification : bool * Azure.ResourceManager.ServiceFabric.Models.ClusterNotificationCategory * Azure.ResourceManager.ServiceFabric.Models.ClusterNotificationLevel * seq<Azure.ResourceManager.ServiceFabric.Models.ClusterNotificationTarget> -> Azure.ResourceManager.ServiceFabric.Models.ClusterNotification
Public Sub New (isEnabled As Boolean, notificationCategory As ClusterNotificationCategory, notificationLevel As ClusterNotificationLevel, notificationTargets As IEnumerable(Of ClusterNotificationTarget))

Parameter

isEnabled
Boolean

Gibt an, ob die Benachrichtigung aktiviert ist.

notificationCategory
ClusterNotificationCategory

Die Kategorie der Benachrichtigung.

notificationLevel
ClusterNotificationLevel

Die Benachrichtigungsebene.

notificationTargets
IEnumerable<ClusterNotificationTarget>

Liste der Ziele, die die Benachrichtigung abonnieren.

Ausnahmen

notificationTargets ist NULL.

Gilt für: