DataCollectionContext Class
Represents the context in which data collection occurs.
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
| Name | Description | |
|---|---|---|
![]() | DataCollectionContext(SessionId^) | Initializes a new instance of the DataCollectionContext class by using the provided session ID. |
![]() | DataCollectionContext(SessionId^, TestExecId^) | Initializes a new instance of the DataCollectionContext class by using the provided session ID and test execution ID. |
| Name | Description | |
|---|---|---|
![]() | HasTestCase | Gets a value that indicates whether an executing test case is associated with this context. |
![]() | SessionId | Gets the SessionId for the session under which the data collection occurs. Will not be null. |
![]() | TestExecId | Gets a TestExecId that identifies the test execution under which the data collection occurs. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified DataCollectionContext matches the current DataCollectionContext.(Overrides Object::Equals(Object^).) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | Serves as a hash function for a DataCollectionContext.(Overrides Object::GetHashCode().) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(DataCollectionContext^, DataCollectionContext^) | Returns a value that indicates whether two instances of DataCollectionContext match. |
![]() ![]() | Inequality(DataCollectionContext^, DataCollectionContext^) | Returns a value that indicates whether two instances of DataCollectionContext do not match. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




