LoadTestContext.LoadTestRunId 属性

获取与该载入测试运行相关联的 ID。 Set 存取器设置为内部。

命名空间:  Microsoft.VisualStudio.TestTools.LoadTesting
程序集:  Microsoft.VisualStudio.QualityTools.LoadTestFramework(在 Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll 中)

语法

声明
Public Property LoadTestRunId As Integer
public int LoadTestRunId { get; internal set; }
public:
property int LoadTestRunId {
    int get ();
    internal: void set (int value);
}
member LoadTestRunId : int with get, internal set
function get LoadTestRunId () : int 
internal function set LoadTestRunId (value : int)

属性值

类型:Int32
运行 ID。

异常

异常 条件
LoadTestRunIdNotSetException

未设置运行 ID。

.NET Framework 安全性

请参阅

参考

LoadTestContext 类

Microsoft.VisualStudio.TestTools.LoadTesting 命名空间