Udostępnij za pośrednictwem


Konstruktor DataCollectionEnvironmentContext — (AgentContext, ControllerContext, DataCollectionContext)

Inicjuje nowe wystąpienie DataCollectionEnvironmentContext klasy przy użyciu kontekstu czynnika przewidziano, kontroler kontekstu i kontekst zbierania danych w sesji.

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 _
)
public DataCollectionEnvironmentContext(
    AgentContext agentContext,
    ControllerContext controllerContext,
    DataCollectionContext sessionDataCollectionContext
)
public:
DataCollectionEnvironmentContext(
    AgentContext^ agentContext, 
    ControllerContext^ controllerContext, 
    DataCollectionContext^ sessionDataCollectionContext
)
new : 
        agentContext:AgentContext * 
        controllerContext:ControllerContext * 
        sessionDataCollectionContext:DataCollectionContext -> DataCollectionEnvironmentContext
public function DataCollectionEnvironmentContext(
    agentContext : AgentContext, 
    controllerContext : ControllerContext, 
    sessionDataCollectionContext : DataCollectionContext
)

Parametry

Uwagi

Wywołana w ramach badania.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

DataCollectionEnvironmentContext Klasa

Przeciążenie DataCollectionEnvironmentContext

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Execution

AgentContext

ControllerContext

DataCollectionContext