Share via


Rule Members

Include Protected Members
Include Inherited Members

Retired Content

This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling.

The Rule type exposes the following members.

Constructors

  Name Description
Protected method Rule
Initializes a new instance of the Rule class.

Methods

  Name Description
Protected method DoEvaluate
Evaluates the rule in the specified context.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method Evaluate
Evaluates the rule in the specified context.
Protected method Finalize
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 method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property Description
Gets the rule description.
Public property Enabled
Gets or sets a value indicating whether this Rule is enabled.
Public property Name
Gets the rule name.

See Also

Rule Class

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Rules Namespace