LoadTestUserContext.IsNewUser Property
Gets a value that indicates whether a newly created virtual user is running the current test.
Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property IsNewUser As Boolean
public bool IsNewUser { get; }
public:
property bool IsNewUser {
bool get ();
}
member IsNewUser : bool with get
function get IsNewUser () : boolean
Property Value
Type: Boolean
true indicates that a newly created virtual user is running the current test; otherwise, false.
.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.