获取与该载入测试运行相关联的 ID。 Set 存取器设置为内部。
命名空间:  Microsoft.VisualStudio.TestTools.LoadTesting
程序集:  Microsoft.VisualStudio.QualityTools.LoadTestFramework(在 Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll 中)
语法
声明
Public Property LoadTestRunId As Integer
    Get
    Friend Set
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)
属性值
类型:System.Int32
运行 ID。
异常
| 异常 | 条件 | 
|---|---|
| LoadTestRunIdNotSetException | 未设置运行 ID。 | 
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。