Share via


DataCollectionEnvironmentContext Constructor (AgentContext, ControllerContext, DataCollectionContext, TcmContext)

Initializes a new instance of the DataCollectionEnvironmentContext class by using the provided agent context, controller context, session data collection context, and test case manager context.

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

Syntax

'Declaration
Public Sub New ( _
    agentContext As AgentContext, _
    controllerContext As ControllerContext, _
    sessionDataCollectionContext As DataCollectionContext, _
    tcmContext As TcmContext _
)
public DataCollectionEnvironmentContext(
    AgentContext agentContext,
    ControllerContext controllerContext,
    DataCollectionContext sessionDataCollectionContext,
    TcmContext tcmContext
)
public:
DataCollectionEnvironmentContext(
    AgentContext^ agentContext, 
    ControllerContext^ controllerContext, 
    DataCollectionContext^ sessionDataCollectionContext, 
    TcmContext^ tcmContext
)
new : 
        agentContext:AgentContext * 
        controllerContext:ControllerContext * 
        sessionDataCollectionContext:DataCollectionContext * 
        tcmContext:TcmContext -> DataCollectionEnvironmentContext
public function DataCollectionEnvironmentContext(
    agentContext : AgentContext, 
    controllerContext : ControllerContext, 
    sessionDataCollectionContext : DataCollectionContext, 
    tcmContext : TcmContext
)

Parameters

.NET Framework Security

See Also

Reference

DataCollectionEnvironmentContext Class

DataCollectionEnvironmentContext Overload

Microsoft.VisualStudio.TestTools.Execution Namespace

AgentContext

ControllerContext

DataCollectionContext

TcmContext