Partager via


WebTestLoop Constructor (ConditionalRule, Int32, Boolean)

Initializes a new instance of the WebTestLoop class by using the specified parameters.

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

Syntax

'Declaration
Public Sub New ( _
    conditionalRule As ConditionalRule, _
    maxIterations As Integer, _
    advanceDataSources As Boolean _
)
public WebTestLoop(
    ConditionalRule conditionalRule,
    int maxIterations,
    bool advanceDataSources
)
public:
WebTestLoop(
    ConditionalRule^ conditionalRule, 
    int maxIterations, 
    bool advanceDataSources
)
new : 
        conditionalRule:ConditionalRule * 
        maxIterations:int * 
        advanceDataSources:bool -> WebTestLoop
public function WebTestLoop(
    conditionalRule : ConditionalRule, 
    maxIterations : int, 
    advanceDataSources : boolean
)

Parameters

  • maxIterations
    Type: Int32

    The maximum number of iterations for this loop.

  • advanceDataSources
    Type: Boolean

    true to advance the data cursors in the data set; false to not advance the data cursors in the data set.

.NET Framework Security

See Also

Reference

WebTestLoop Class

WebTestLoop Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace