Share via


WebTestItem Class

Represents a base class for WebTestRequest.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestItem
    Microsoft.VisualStudio.TestTools.WebTesting.Comment
    Microsoft.VisualStudio.TestTools.WebTesting.IncludedWebTest
    Microsoft.VisualStudio.TestTools.WebTesting.SharepointInformation
    Microsoft.VisualStudio.TestTools.WebTesting.TransactionTimer
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestConditionalConstruct
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestRequest

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

Syntax

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

The WebTestItem type exposes the following members.

Properties

  Name Description
Public property ItemId Zero-based sequence number of the item in the Web performance test.

Top

Methods

  Name Description
Public method Clone When it is overridden in a derived class, creates a copy of this object.
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 RuntimeClone Returns a clone of this object at run time.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

Not intended to be used in user code. This class is serializable.

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

Working with Web Tests