TestSelectedEventArgs Class
Contains the arguments for the TestSelected event.
Inheritance Hierarchy
Object
EventArgs
Microsoft.VisualStudio.TestTools.LoadTesting.TestSelectedEventArgs
Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
Syntax
'Declaration
Public Class TestSelectedEventArgs _
Inherits EventArgs
public class TestSelectedEventArgs : EventArgs
public ref class TestSelectedEventArgs : public EventArgs
type TestSelectedEventArgs =
class
inherit EventArgs
end
public class TestSelectedEventArgs extends EventArgs
The TestSelectedEventArgs type exposes the following members.
Properties
Name | Description | |
---|---|---|
IsInitializeTest | Gets a value that indicates whether the selected test is the InitializeTest that was specified in the test mix of the load test scenario. | |
IsTerminateTest | Gets a value that indicates whether the selected test is the TerminateTest that was specified in the test mix of the load test scenario. | |
ScenarioName | Gets the scenario name that contains the test that is selected. | |
TestName | Gets or sets the name of the test that is selected. | |
UserContext | Gets the LoadTestUserContext that represents the virtual user who is running the selected test. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
TestSelectedEventArgs contains a reference to the test that is starting and the scenario that it is starting in.
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.LoadTesting Namespace