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
- conditionalRule 
 Type: Microsoft.VisualStudio.TestTools.WebTesting.ConditionalRule- The conditional rule. 
- 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
- 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.