Compartilhar via


DataCollectionContext Constructor (SessionId, TestExecId)

Initializes a new instance of the DataCollectionContext class by using the provided session ID and test execution ID.

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

Syntax

'Declaration
Protected Friend Sub New ( _
    sessionId As SessionId, _
    testExecId As TestExecId _
)
protected internal DataCollectionContext(
    SessionId sessionId,
    TestExecId testExecId
)
protected public:
DataCollectionContext(
    SessionId^ sessionId, 
    TestExecId^ testExecId
)
new : 
        sessionId:SessionId * 
        testExecId:TestExecId -> DataCollectionContext
function DataCollectionContext(
    sessionId : SessionId, 
    testExecId : TestExecId
)

Parameters

.NET Framework Security

See Also

Reference

DataCollectionContext Class

DataCollectionContext Overload

Microsoft.VisualStudio.TestTools.Execution Namespace

SessionId

TestExecId