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
agentContext
Type: Microsoft.VisualStudio.TestTools.Execution.AgentContextThe AgentContext for the agent.
controllerContext
Type: Microsoft.VisualStudio.TestTools.Execution.ControllerContextThe ControllerContext for the controller.
sessionDataCollectionContext
Type: Microsoft.VisualStudio.TestTools.Execution.DataCollectionContextThe DataCollectionContext for the diagnostic data adapter.
tcmContext
Type: Microsoft.VisualStudio.TestTools.Common.TcmContextThe TcmContext for the test case manager.
.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
DataCollectionEnvironmentContext Class
DataCollectionEnvironmentContext Overload