DataCollectionEnvironmentContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DataCollectionEnvironmentContext(AgentContext, ControllerContext, DataCollectionContext) |
Initializes a new instance of the DataCollectionEnvironmentContext class by using the provided agent context, controller context, and session data collection context. |
DataCollectionEnvironmentContext(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. |
DataCollectionEnvironmentContext(AgentContext, ControllerContext, DataCollectionContext)
Initializes a new instance of the DataCollectionEnvironmentContext class by using the provided agent context, controller context, and session data collection context.
public:
DataCollectionEnvironmentContext(Microsoft::VisualStudio::TestTools::Execution::AgentContext ^ agentContext, Microsoft::VisualStudio::TestTools::Execution::ControllerContext ^ controllerContext, Microsoft::VisualStudio::TestTools::Execution::DataCollectionContext ^ sessionDataCollectionContext);
public DataCollectionEnvironmentContext (Microsoft.VisualStudio.TestTools.Execution.AgentContext agentContext, Microsoft.VisualStudio.TestTools.Execution.ControllerContext controllerContext, Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext sessionDataCollectionContext);
new Microsoft.VisualStudio.TestTools.Execution.DataCollectionEnvironmentContext : Microsoft.VisualStudio.TestTools.Execution.AgentContext * Microsoft.VisualStudio.TestTools.Execution.ControllerContext * Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext -> Microsoft.VisualStudio.TestTools.Execution.DataCollectionEnvironmentContext
Public Sub New (agentContext As AgentContext, controllerContext As ControllerContext, sessionDataCollectionContext As DataCollectionContext)
Parameters
- agentContext
- AgentContext
The AgentContext for the agent.
- controllerContext
- ControllerContext
The ControllerContext for the controller.
- sessionDataCollectionContext
- DataCollectionContext
The DataCollectionContext for the diagnostic data adapter.
Applies to
DataCollectionEnvironmentContext(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.
public:
DataCollectionEnvironmentContext(Microsoft::VisualStudio::TestTools::Execution::AgentContext ^ agentContext, Microsoft::VisualStudio::TestTools::Execution::ControllerContext ^ controllerContext, Microsoft::VisualStudio::TestTools::Execution::DataCollectionContext ^ sessionDataCollectionContext, Microsoft::VisualStudio::TestTools::Common::TcmContext ^ tcmContext);
public DataCollectionEnvironmentContext (Microsoft.VisualStudio.TestTools.Execution.AgentContext agentContext, Microsoft.VisualStudio.TestTools.Execution.ControllerContext controllerContext, Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext sessionDataCollectionContext, Microsoft.VisualStudio.TestTools.Common.TcmContext tcmContext);
new Microsoft.VisualStudio.TestTools.Execution.DataCollectionEnvironmentContext : Microsoft.VisualStudio.TestTools.Execution.AgentContext * Microsoft.VisualStudio.TestTools.Execution.ControllerContext * Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext * Microsoft.VisualStudio.TestTools.Common.TcmContext -> Microsoft.VisualStudio.TestTools.Execution.DataCollectionEnvironmentContext
Public Sub New (agentContext As AgentContext, controllerContext As ControllerContext, sessionDataCollectionContext As DataCollectionContext, tcmContext As TcmContext)
Parameters
- agentContext
- AgentContext
The AgentContext for the agent.
- controllerContext
- ControllerContext
The ControllerContext for the controller.
- sessionDataCollectionContext
- DataCollectionContext
The DataCollectionContext for the diagnostic data adapter.
- tcmContext
- TcmContext
The TcmContext for the test case manager.