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
sessionId
Type: Microsoft.VisualStudio.TestTools.Common.SessionIdA SessionId object.
testExecId
Type: Microsoft.VisualStudio.TestTools.Common.TestExecIdA TestExecId object.
.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.
See Also
Reference
DataCollectionContext Overload