ClusterNotification Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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))
Parameters
- isEnabled
- Boolean
Indicates if the notification is enabled.
- notificationCategory
- ClusterNotificationCategory
The category of notification.
- notificationLevel
- ClusterNotificationLevel
The level of notification.
- notificationTargets
- IEnumerable<ClusterNotificationTarget>
List of targets that subscribe to the notification.
Exceptions
notificationTargets
is null.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET