Share via


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

.NET Framework Security

See Also

Reference

DataCollectionContext Class

DataCollectionContext Overload

Microsoft.VisualStudio.TestTools.Execution Namespace

SessionId