Class to contain a conditional rule that checks the response code of the last response. Applies only to condition statements.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Thetype exposes the following members.
|CheckCondition||Determines whether the condition was met. The condition is met if the status code of the previous response matches the provided status code. (Overrides ConditionalRule.CheckCondition(Object, ConditionalEventArgs).)|
|CleanUp||Called after the loop or condition has finished executing. This includes any requests in the body. Any cleanup code that is relevant to the conditional rule must be added to this method. (Inherited from ConditionalRule.)|
|Equals||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|Initialize||Called before the first CheckCondition call is made. Any initialization code that is relevant to the conditional rule should be added to this method. (Inherited from ConditionalRule.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|StringRepresentation||Converts the rule to a string to be displayed in the tree. (Overrides ConditionalRule.StringRepresentation().)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|