This documentation is archived and is not being maintained.

LoadTestUserContext Members

Visual Studio 2008

Encapsulates information about the user context in which a test is running, in a load test.

The LoadTestUserContext type exposes the following members.

  NameDescription
Public method Add Overloaded. Adds an item to the LoadTestUserContext.
Public method Clear Removes all items from the LoadTestUserContext.
Public method Contains Determines whether the LoadTestUserContext contains a specific value.
Public method ContainsKey Indicates whether the LoadTestUserContext contains an element that has the specified key.
Public method CopyTo Copies the elements of the LoadTestUserContext to an Array, starting at a particular Array index.
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 GetEnumerator Returns an enumerator that iterates through the LoadTestUserContext.
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 Remove Overloaded. Removes the first occurrence of a specific object from the LoadTestUserContext.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetValue Gets the value associated with the specified key.
Top

  NameDescription
Public property CompletedTestCount Gets or sets the number of tests that have been completed by the virtual user that is represented by the LoadTestUserContext object since the beginning of the load test.
Public property Count Gets the number of elements contained in the LoadTestUserContext object.
Public property InitializeTestContext
Public property IsNewUser Gets a value that indicates whether a newly created virtual user is running the current test.
Public property IsReadOnly Gets a value that indicates whether LoadTestUserContext is read-only.
Public property Item Gets or sets a LoadTestUserContext element that has the specified key.
Public property Keys Gets an ICollection that contains the keys of the LoadTestUserContext elements.
Public property ScenarioName The name of the load test scenario that created the virtual user that is represented by this LoadTestUserContext.
Public property UserId Gets the UserId of the user within the load test scenario.
Public property Values Gets ICollection that contains the values in the LoadTestUserContext elements.
Top
Show: