Dela via


ExtractionRuleReference Class

The ExtractionRuleReference class encapsulates the metadata about an ExtractionRule and the parameter values to use when an instance of the ExtractionRule is created when the Web performance test that uses the ExtractionRule is run.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestRuleBase
    Microsoft.VisualStudio.TestTools.WebTesting.ExtractionRuleReference

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

Syntax

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

The ExtractionRuleReference type exposes the following members.

Constructors

  Name Description
Public method ExtractionRuleReference() Initializes a new instance of the ExtractionRuleReference class.
Public method ExtractionRuleReference(Type) Initializes a new instance of the ExtractionRuleReference class by using the Type of the ExtractionRule implementation as a parameter.

Top

Properties

  Name Description
Public property ContextParameterName Gets or sets the name of the context parameter in the context of the Web performance test.
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 Returns a new instance of the ExtractionRuleReference object. (Overrides WebTestRuleBase.Clone().)
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

Other Resources

How to: Create a Recorder Plug-In