We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

WebTestConditionalConstruct Class

Base class for the conditional loop and the conditional statement constructs.

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

public abstract class WebTestConditionalConstruct : WebTestItem

The WebTestConditionalConstruct type exposes the following members.

Protected methodWebTestConditionalConstruct()Initializes a new instance of the WebTestConditionalConstruct class.
Protected methodWebTestConditionalConstruct(WebTestConditionalConstruct)Initializes a new instance of the WebTestConditionalConstruct class by copying the specified WebTestConditionalConstruct.

Public propertyConditionalRuleReferenceGets or sets the reference to a conditional rule.
Public propertyItemIdZero-based sequence number of the item in the Web performance test. (Inherited from WebTestItem.)
Public propertyItemsGets the collection of WebTestItem objects.
Public propertyUniqueStringIdGets or sets the unique string ID.

Public methodCloneWhen it is overridden in a derived class, creates a copy of this object. (Inherited from WebTestItem.)
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodExecuteCheckConditionalRuleExecutes the conditional rule.
Public methodExecuteCleanUpConditionalRulePerforms cleanup after the conditional rule is checked.
Public methodExecuteInitializeConditionalRuleInitializes the conditional rule.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetConditionalRuleTextReturns the text description of the conditional rule.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitialize(ConditionalRuleReference)Initializes a new referenced conditional rule.
Protected methodInitialize(WebTestConditionalConstruct, ConditionalRuleReference)Initializes a new referenced conditional rule by copying the specified ConditionalRuleReference.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRuntimeCloneReturns a clone of this object at run time. (Inherited from WebTestItem.)
Public methodToString()Returns a string that represents the current object. (Inherited from Object.)
Public methodToString(String)Returns a String that represents the current WebTestConditionalConstruct.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.