TransactionTimer Class

Represents a timed transaction in a Web performance test. This part of the Web performance test may include Web performance test requests, calls to included Web performance tests, or other Web performance test transactions.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestItem
    Microsoft.VisualStudio.TestTools.WebTesting.TransactionTimer

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

Syntax

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

The TransactionTimer type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property ItemId Zero-based sequence number of the item in the Web performance test. (Inherited from WebTestItem.)
Public property Items Gets the list of Web performance test items that are included in the timed transaction.
Public property Name Gets or sets the name given to the TransactionTimer. This name is displayed in the Web performance test editor, or displayed in a coded Web performance test in the Web performance test and load test results.

Top

Methods

  Name Description
Public method Clone Creates a copy of the TransactionTimer. (Overrides WebTestItem.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 RuntimeClone (Overrides WebTestItem.RuntimeClone().)
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