Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataCollectionEnvironmentContext Class

 

Encapsulates the environment where a diagnostic data adapter is hosted.

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

System.Object
  Microsoft.VisualStudio.TestTools.Execution.DataCollectionEnvironmentContext

[SerializableAttribute]
public sealed class DataCollectionEnvironmentContext

NameDescription
System_CAPS_pubmethodDataCollectionEnvironmentContext(AgentContext, ControllerContext, DataCollectionContext)

Initializes a new instance of the DataCollectionEnvironmentContext class by using the provided agent context, controller context, and session data collection context.

System_CAPS_pubmethodDataCollectionEnvironmentContext(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.

NameDescription
System_CAPS_pubpropertyAgentContext

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

System_CAPS_pubpropertyControllerContext

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

System_CAPS_pubpropertyIsManualTest

System_CAPS_pubpropertySessionDataCollectionContext

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

System_CAPS_pubpropertyTcmContext

Gets the context for the test case manager.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateForLocalEnvironment()

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

System_CAPS_pubmethodSystem_CAPS_staticCreateForLocalEnvironment(DataCollectionContext)

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

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: