Determines whether the condition was met. The condition is met when the outcome of the previous request matches the provided outcome.
Namespace:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Overrides Sub CheckCondition ( _
    sender As Object, _
    e As ConditionalEventArgs _
)
public override void CheckCondition(
    Object sender,
    ConditionalEventArgs e
)
public:
virtual void CheckCondition(
    Object^ sender, 
    ConditionalEventArgs^ e
) override
abstract CheckCondition : 
        sender:Object * 
        e:ConditionalEventArgs -> unit  
override CheckCondition : 
        sender:Object * 
        e:ConditionalEventArgs -> unit
public override function CheckCondition(
    sender : Object, 
    e : ConditionalEventArgs
)
Parameters
- sender 
 Type: Object- The sender of the event. 
- e 
 Type: Microsoft.VisualStudio.TestTools.WebTesting.ConditionalEventArgs- The ConditionalEventArgs that contains the event data. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.