Udostępnij za pośrednictwem


Konstruktor DataCollectionEnvironmentContext — (AgentContext, ControllerContext, DataCollectionContext, TcmContext)

Inicjuje nowe wystąpienie DataCollectionEnvironmentContext klasy przy użyciu kontekstu czynnika przewidziano, kontekst kontrolera, kontekstu zbierania danych w sesji i kontekście Menedżera testowy.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.Execution
Zestaw:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (w Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Składnia

'Deklaracja
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
)

Parametry

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

DataCollectionEnvironmentContext Klasa

Przeciążenie DataCollectionEnvironmentContext

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Execution

AgentContext

ControllerContext

DataCollectionContext

TcmContext