Поделиться через


ConditionalRuleReference Class

Base class for a reference to a particular conditional rule.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestRuleBase
    Microsoft.VisualStudio.TestTools.WebTesting.ConditionalRuleReference
      Microsoft.VisualStudio.TestTools.WebTesting.ConditionConditionalRuleReference
      Microsoft.VisualStudio.TestTools.WebTesting.LoopConditionalRuleReference

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

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class ConditionalRuleReference _
    Inherits WebTestRuleBase
[SerializableAttribute]
public abstract class ConditionalRuleReference : WebTestRuleBase
[SerializableAttribute]
public ref class ConditionalRuleReference abstract : public WebTestRuleBase
[<AbstractClass>]
[<SerializableAttribute>]
type ConditionalRuleReference =  
    class
        inherit WebTestRuleBase
    end
public abstract class ConditionalRuleReference extends WebTestRuleBase

The ConditionalRuleReference type exposes the following members.

Constructors

  Name Description
Protected method ConditionalRuleReference() Initializes a new instance of the ConditionalRuleReference class.
Protected method ConditionalRuleReference(Type) Initializes a new instance of the ConditionalRuleReference class with the specified type.
Protected method ConditionalRuleReference(ConditionalRuleReference) Initializes a new instance of the ConditionalRuleReference class by copying the specified ConditionalRuleReference.

Top

Properties

  Name Description
Public property Description Gets or sets the description of the rule or plug-in. (Inherited from WebTestRuleBase.)
Public property DisplayName Gets or sets the name of the rule or plug-in to be displayed in the Web performance test editor. (Inherited from WebTestRuleBase.)
Public property ExecutionOrder (Inherited from WebTestRuleBase.)
Public property Properties Gets or sets a collection of PluginOrRuleProperty objects with one member for each property defined by the rule or plug-in implementation. (Inherited from WebTestRuleBase.)
Public property Type Gets or sets the Type object representing the type of the rule or plug-in. (Inherited from WebTestRuleBase.)

Top

Methods

  Name Description
Public method Clone Creates a new WebTestRuleBase that is a copy of the current instance. (Inherited from WebTestRuleBase.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.TestTools.WebTesting Namespace