DataCollectionEnvironmentContext-Konstruktor (AgentContext, ControllerContext, DataCollectionContext, TcmContext)
Initialisiert eine neue Instanz der DataCollectionEnvironmentContext-Klasse mit dem angegebenen Agent-Kontext, Controllerkontext und Kontext für die Sitzungsdatensammlung und den Testfall-Manager.
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
)
Parameter
agentContext
Typ: Microsoft.VisualStudio.TestTools.Execution.AgentContextDer AgentContext für den Agent.
controllerContext
Typ: Microsoft.VisualStudio.TestTools.Execution.ControllerContextDer ControllerContext für den Controller.
sessionDataCollectionContext
Typ: Microsoft.VisualStudio.TestTools.Execution.DataCollectionContextDer DataCollectionContext für den Adapter für diagnostische Daten.
tcmContext
Typ: Microsoft.VisualStudio.TestTools.Common.TcmContextDer TcmContext für den Testfall-Manager.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
DataCollectionEnvironmentContext Klasse
DataCollectionEnvironmentContext-Überladung