TestSelectedEventArgs.TestName Property
Gets or sets the name of the test that is selected.
Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
Syntax
'Declaration
Public Property TestName As String
'Usage
Dim instance As TestSelectedEventArgs
Dim value As String
value = instance.TestName
instance.TestName = value
public string TestName { get; set; }
public:
property String^ TestName {
String^ get ();
void set (String^ value);
}
public function get TestName () : String
public function set TestName (value : String)
Property Value
Type: System.String
The name of the test that is selected.
Remarks
A Load Test Plug-in can replace the test that is to be started by a different test by setting the TestName property.
Example
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.