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.
Top

Public Properties

  Name Description
public property ApplicationName Gets or sets the name of the application that is executed by this notification action.
public property CommandLine Gets or sets the command that this notification action executes.
public property Description  Gets or sets the description of the notification action. (inherited from NotificationAction)
public property DisplayName  Gets or sets the display name of the notification action. (inherited from NotificationAction)
public property Id  Gets the globally unique identifier (GUID) for the CreatableMonitoringBaseWithId object. (inherited from CreatableMonitoringBaseWithId)
public property ManagementGroup  Gets the Management Group that the object is in. (inherited from MonitoringBase)
public property ManagementGroupId  Gets the globally unique identifier (GUID) for the Management Group that the object is in. (inherited from MonitoringBase)
public property Name  Gets or sets the name of the notification action. (inherited from NotificationAction)
public property RecipientProtocol Gets or sets the transport protocol used to deliver notifications to the recipient.
public property Timeout Gets or sets the number of seconds to wait for the command to complete execution.
public property WorkingDirectory Gets or sets the path of the directory in which the command is executed.
Top

Public Methods (see also Protected Methods)

  Name Description
public method Equals  Overloaded. (inherited from CreatableMonitoringBaseWithId)
public method GetHashCode  Gets the hash code for the CreatableMonitoringBaseWithId object. (inherited from CreatableMonitoringBaseWithId)
public method GetType  (inherited from Object)
public method Reconnect  (inherited from MonitoringBase)
public methodstatic ReferenceEquals  (inherited from Object)
public method ToString  Returns the relevant display string for the object. (inherited from MonitoringBase)
public method Update  Updates the notification action. (inherited from NotificationAction)
Top

Protected Methods

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)
Top

See Also


Send comments about this topic to Microsoft.