Export (0) Print
Expand All

TestSelectedEventArgs Class

Contains the arguments for the TestSelected event.

System.Object
  System.EventArgs
    Microsoft.VisualStudio.TestTools.LoadTesting.TestSelectedEventArgs

Namespace:  Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

public class TestSelectedEventArgs : EventArgs

The TestSelectedEventArgs type exposes the following members.

  NameDescription
Public propertyIsInitializeTestGets a value that indicates whether the selected test is the InitializeTest that was specified in the test mix of the load test scenario.
Public propertyIsTerminateTestGets a value that indicates whether the selected test is the TerminateTest that was specified in the test mix of the load test scenario.
Public propertyScenarioNameGets the scenario name that contains the test that is selected.
Public propertyTestNameGets or sets the name of the test that is selected.
Public propertyUserContextGets the LoadTestUserContext that represents the virtual user who is running the selected test.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

TestSelectedEventArgs contains a reference to the test that is starting and the scenario that it is starting in.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft