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


WebTestPluginReference Class

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

Inheritance Hierarchy

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

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

Syntax

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

The WebTestPluginReference type exposes the following members.

Constructors

  Name Description
Public method WebTestPluginReference Initializes a new instance of the WebTestPluginReference class.

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 WebTestPluginReference that is a copy of the current instance. (Overrides WebTestRuleBase.Clone().)
Public method CreateInstance Initializes a new instance of the WebTestPluginReference class.
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