LastRequestOutcomeRule Class
Class to contain a conditional rule that compares the outcome of the last request. Applies only to condition statements.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Microsoft.VisualStudio.TestTools.WebTesting::ConditionalRule
Microsoft.VisualStudio.TestTools.WebTesting.Rules::LastRequestOutcomeRule
| Name | Description | |
|---|---|---|
![]() | LastRequestOutcomeRule() | Initializes a new instance of the LastRequestOutcomeRule class. |
| Name | Description | |
|---|---|---|
![]() | RequestOutcome | Gets or sets the outcome of the request. |
| Name | Description | |
|---|---|---|
![]() | CheckCondition(Object^, ConditionalEventArgs^) | Determines whether the condition was met. The condition is met when the outcome of the previous request matches the provided outcome.(Overrides ConditionalRule::CheckCondition(Object^, ConditionalEventArgs^).) |
![]() | CleanUp(Object^, ConditionalEventArgs^) | 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(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Initialize(Object^, ConditionalEventArgs^) | 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() | (Inherited from Object.) |
![]() | StringRepresentation() | Converts the rule to a string to be displayed in the tree.(Overrides ConditionalRule::StringRepresentation().) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


