Share via


ValidationRuleRequestTime.Validate Method

Validates that the request time did not exceed the MaxRequestTime property.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Overrides Sub Validate ( _
    sender As Object, _
    e As ValidationEventArgs _
)
public override void Validate(
    Object sender,
    ValidationEventArgs e
)
public:
virtual void Validate(
    Object^ sender, 
    ValidationEventArgs^ e
) override
abstract Validate : 
        sender:Object * 
        e:ValidationEventArgs -> unit  
override Validate : 
        sender:Object * 
        e:ValidationEventArgs -> unit
public override function Validate(
    sender : Object, 
    e : ValidationEventArgs
)

Parameters

  • sender
    Type: Object

    The source of the event.

Remarks

This rule will fail if the request time is greater than the maximum set by MaxRequestTime.

.NET Framework Security

See Also

Reference

ValidationRuleRequestTime Class

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace