DataCollectionContext Class

Definition

Represents the context in which data collection occurs.

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

Constructors

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.

Properties

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.

Methods

Equals(Object)

Determines whether the specified DataCollectionContext matches the current DataCollectionContext.

GetHashCode()

Serves as a hash function for a DataCollectionContext.

Operators

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.

Applies to