LoadTestUserContext Methods

Include Protected Members
Include Inherited Members

The LoadTestUserContext type exposes the following members.

Methods

  Name Description
Public method Add(KeyValuePair<String, Object>) Adds a KeyValuePair<TKey, TValue> item to the LoadTestUserContext.
Public method Add(String, Object) Adds an element that has the provided key and value 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 CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
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 GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method Remove(KeyValuePair<String, Object>) Removes the first occurrence of a specific object from the LoadTestUserContext.
Public method Remove(String) Returns a value that indicates whether the first occurrence of a specific object must be moved from the LoadTestUserContext object.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetValue Gets the value that is associated with the specified key.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection of LoadTestUserContext elements.

Top

See Also

Reference

LoadTestUserContext Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace