DataCollectionContext Constructor (SessionId)
Initializes a new instance of the DataCollectionContext class by using the provided session 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 _
)
protected internal DataCollectionContext(
SessionId sessionId
)
protected public:
DataCollectionContext(
SessionId^ sessionId
)
new :
sessionId:SessionId -> DataCollectionContext
function DataCollectionContext(
sessionId : SessionId
)
Parameters
sessionId
Type: Microsoft.VisualStudio.TestTools.Common.SessionIdA SessionId 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