Share via


DataCollectionContext.TestExecId Property

Gets a TestExecId that identifies the test execution under which the data collection occurs.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

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

Property Value

Type: Microsoft.VisualStudio.TestTools.Common.TestExecId
A TestExecId object, or nulla null reference (Nothing in Visual Basic) if no executing test is associated with this context.

.NET Framework Security

See Also

Reference

DataCollectionContext Class

Microsoft.VisualStudio.TestTools.Execution Namespace

TestExecId

SessionId