WebTestCondition Constructor (ConditionalRule)
Initializes a new instance of the WebTestCondition class by using the specified ConditionalRule.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Sub New ( _
conditionalRule As ConditionalRule _
)
public WebTestCondition(
ConditionalRule conditionalRule
)
public:
WebTestCondition(
ConditionalRule^ conditionalRule
)
new :
conditionalRule:ConditionalRule -> WebTestCondition
public function WebTestCondition(
conditionalRule : ConditionalRule
)
Parameters
- conditionalRule
Type: Microsoft.VisualStudio.TestTools.WebTesting.ConditionalRule
The conditional rule to use for initialization.
.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.