The AlertRule type exposes the following members.

Constructors

  NameDescription
Public methodAlertRule(AlertRule)
Initializes a new instance of the AlertRule class as a clone of another instance.
Public methodAlertRule(AlertDefinition, AlertSeverity)
Initializes a new instance of the AlertRule class.

Methods

  NameDescription
Public methodAddAlertAction
Adds an AlertAction to this AlertRule.
Public methodCloneTo
Clones an AlertRule and associates it to the supplied AlertDefinition.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Overrides Object..::..Equals(Object).)
Public methodEquals(AlertRule, AlertRule)
Determines whether the specified objects are equal.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode()()()()
Serves as a hash function for a particular type.
(Overrides Object..::..GetHashCode()()()().)
Public methodGetHashCode(AlertRule)
Returns a hash code for the specified object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveAlertAction
Removes an AlertAction from this AlertRule.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAlertActions
Gets the actions.
Public propertyAlertDefinition
Gets the alert definition that is associated with this alert range.
Public propertyAlertSeverity
Gets the alert severity.
Public propertyCondition
Gets the condition.
Public propertyId
Gets the ID for the AlertRule.
Public propertyIsEditable
Gets a value indicating whether this instance is editable.

See Also