Represents a command that executes in response to a triggered alert or state change.
The following tables list the members exposed by the CommandNotificationAction type.
Public Constructors
Name | Description | |
---|---|---|
CommandNotificationAction | Initializes the CommandNotificationAction class with user-defined names for the notification action and the recipient protocol. |
Public Properties
Name | Description | |
---|---|---|
ApplicationName | Gets or sets the name of the application that is executed by this notification action. | |
CommandLine | Gets or sets the command that this notification action executes. | |
Description | Gets or sets the description of the notification action. (inherited from NotificationAction) | |
DisplayName | Gets or sets the display name of the notification action. (inherited from NotificationAction) | |
Id | Gets the globally unique identifier (GUID) for the CreatableMonitoringBaseWithId object. (inherited from CreatableMonitoringBaseWithId) | |
ManagementGroup | Gets the Management Group that the object is in. (inherited from MonitoringBase) | |
ManagementGroupId | Gets the globally unique identifier (GUID) for the Management Group that the object is in. (inherited from MonitoringBase) | |
Name | Gets or sets the name of the notification action. (inherited from NotificationAction) | |
RecipientProtocol | Gets or sets the transport protocol used to deliver notifications to the recipient. | |
Timeout | Gets or sets the number of seconds to wait for the command to complete execution. | |
WorkingDirectory | Gets or sets the path of the directory in which the command is executed. |
Public Methods (see also Protected Methods)
Name | Description | |
---|---|---|
Equals | Overloaded. (inherited from CreatableMonitoringBaseWithId) | |
GetHashCode | Gets the hash code for the CreatableMonitoringBaseWithId object. (inherited from CreatableMonitoringBaseWithId) | |
GetType | (inherited from Object) | |
Reconnect | (inherited from MonitoringBase) | |
ReferenceEquals | (inherited from Object) | |
ToString | Returns the relevant display string for the object. (inherited from MonitoringBase) | |
Update | Updates the notification action. (inherited from NotificationAction) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object) | |
MemberwiseClone | (inherited from Object) |
See Also
Send comments about this topic to Microsoft.