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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.