Поделиться через


LoadTestUserContext.UserId - свойство

Получает UserId пользователя в сценарии нагрузочного теста.

Пространство имен:  Microsoft.VisualStudio.TestTools.LoadTesting
Сборка:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (в Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

Синтаксис

'Декларация
Public ReadOnly Property UserId As Integer
public int UserId { get; }
public:
property int UserId {
    int get ();
}
member UserId : int with get
function get UserId () : int

Значение свойства

Тип: System.Int32
UserId пользователя в сценарии нагрузочного теста.

Безопасность платформы .NET Framework

См. также

Ссылки

LoadTestUserContext Класс

Microsoft.VisualStudio.TestTools.LoadTesting - пространство имен