다음을 통해 공유


LoadTestContext.LoadTestRunId Property

Gets the ID that is associated with this load test run. Set accessor is set to internal.

Namespace:  Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

Syntax

'Declaration
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)

Property Value

Type: Int32
The run ID.

Exceptions

Exception Condition
LoadTestRunIdNotSetException

Run ID is not set.

.NET Framework Security

See Also

Reference

LoadTestContext Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace