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)

속성 값

형식: System.Int32
실행 ID입니다.

예외

예외 조건
LoadTestRunIdNotSetException

실행 ID가 설정되지 않았습니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

LoadTestContext 클래스

Microsoft.VisualStudio.TestTools.LoadTesting 네임스페이스