Partager via


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

See Also

Reference

LoadTestUserContext Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace