WebTestRuleBase Class

An abstract base class extended by rule and reference classes in the Microsoft.VisualStudio.TestTools.WebTesting namespace.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestRuleBase
    Microsoft.VisualStudio.TestTools.WebTesting.ConditionalRuleReference
    Microsoft.VisualStudio.TestTools.WebTesting.ExtractionRuleReference
    Microsoft.VisualStudio.TestTools.WebTesting.RequestBodyEditorPluginReference
    Microsoft.VisualStudio.TestTools.WebTesting.ValidationRuleReference
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestPluginReference
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestRecorderPluginReference
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestRequestPluginReference

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

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class WebTestRuleBase _
    Implements ICloneable
[SerializableAttribute]
public abstract class WebTestRuleBase : ICloneable
[SerializableAttribute]
public ref class WebTestRuleBase abstract : ICloneable
[<AbstractClass>]
[<SerializableAttribute>]
type WebTestRuleBase =  
    class
        interface ICloneable
    end
public abstract class WebTestRuleBase implements ICloneable

The WebTestRuleBase type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Description Gets or sets the description of the rule or plug-in.
Public property DisplayName Gets or sets the name of the rule or plug-in to be displayed in the Web performance test editor.
Public property ExecutionOrder
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.
Public property Type Gets or sets the Type object representing the type of the rule or plug-in.

Top

Methods

  Name Description
Public method Clone Creates a new WebTestRuleBase that is a copy of the current instance.
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