LoadTestContext.LoadTestRunId Özellik
Bu yük sınaması çalıştırmak ilişkili kimliği alır. Seterişimci iç ayarlanır.
Ad alanı: Microsoft.VisualStudio.TestTools.LoadTesting
Derleme: Microsoft.VisualStudio.QualityTools.LoadTestFramework (Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll içinde)
Sözdizimi
'Bildirim
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)
Özellik Değeri
Tür: System.Int32
İşletim teşhis kodu
Özel Durumlar
Exception | Koşul |
---|---|
LoadTestRunIdNotSetException | Çalışma kimliği ayarlanmamış. |
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.