DataCollectionEnvironmentContext Class

Definition

Encapsulates the environment where a diagnostic data adapter is hosted.

public ref class DataCollectionEnvironmentContext sealed
[System.Serializable]
public sealed class DataCollectionEnvironmentContext
[<System.Serializable>]
type DataCollectionEnvironmentContext = class
Public NotInheritable Class DataCollectionEnvironmentContext
Inheritance
DataCollectionEnvironmentContext
Attributes

Constructors

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.

Properties

AgentContext

Gets the agent context. The set accessor is for internal use only.

ControllerContext

Gets the test controller context. The set accessor is for internal use only.

IsManualTest
SessionDataCollectionContext

Gets the session context for a diagnostic data adapter. The set accessor is for internal use only.

TcmContext

Gets the context for the test case manager.

Methods

CreateForLocalEnvironment()

Returns a data collection environment context for a locally hosted agent and controller.

CreateForLocalEnvironment(DataCollectionContext)

Returns a data collection environment context for a locally hosted agent and controller by using the provided session data collection context.

Applies to