DataCollectionEnvironmentContext Class
Encapsulates the environment where a diagnostic data adapter is hosted.
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() ![]() | 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. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


