다음을 통해 공유


DataCollectionContext.TestExecId 속성

데이터 수집이 발생하는 테스트 실행을 식별하는 TestExecId를 가져옵니다.

네임스페이스:  Microsoft.VisualStudio.TestTools.Execution
어셈블리:  Microsoft.VisualStudio.QualityTools.ExecutionCommon(Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

구문

‘선언
Public ReadOnly Property TestExecId As TestExecId
public TestExecId TestExecId { get; }
public:
property TestExecId^ TestExecId {
    TestExecId^ get ();
}
member TestExecId : TestExecId with get
function get TestExecId () : TestExecId

속성 값

형식: Microsoft.VisualStudio.TestTools.Common.TestExecId
TestExecId 개체이거나, 이 컨텍스트와 연결되어 있는 실행 중인 테스트가 없으면 nullNull 참조(Visual Basic의 경우 Nothing)입니다.

.NET Framework 보안

참고 항목

참조

DataCollectionContext 클래스

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

TestExecId

SessionId