Compartilhar via


Construtor DataCollectionEnvironmentContext (AgentContext, ControllerContext, DataCollectionContext, TcmContext)

Inicializa uma nova instância de DataCollectionEnvironmentContext classe usando o contexto fornecido de agente, o contexto de controlador, contexto de coleta de dados de sessão e contexto do Gerenciador de caso de teste.

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

Sintaxe

'Declaração
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
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

DataCollectionEnvironmentContext Classe

Sobrecargas DataCollectionEnvironmentContext

Namespace Microsoft.VisualStudio.TestTools.Execution

AgentContext

ControllerContext

DataCollectionContext

TcmContext