DataRequestEventArgs 类

定义

事件的事件参数类 DataRequest

public ref class DataRequestEventArgs sealed : Microsoft::VisualStudio::TestTools::Execution::TestCaseEventArgs
[System.Serializable]
public sealed class DataRequestEventArgs : Microsoft.VisualStudio.TestTools.Execution.TestCaseEventArgs
[<System.Serializable>]
type DataRequestEventArgs = class
    inherit TestCaseEventArgs
Public NotInheritable Class DataRequestEventArgs
Inherits TestCaseEventArgs
继承
属性

构造函数

DataRequestEventArgs(DataCollectionContext, ITestElement, TcmInformation, TimeSpan)

属性

Context

获取或设置事件的上下文信息。

(继承自 DataCollectionEventArgs)
IsChildTestCase

获取或设置一个值,该值指示测试用例是否为另一个测试用例的子。

(继承自 TestCaseEventArgs)
RequestedDuration
RequestId

获取或设置 RequestId 唯一标识此请求上下文的。

TargetDataCollectorUri (继承自 DataCollectionEventArgs)
TcmInformation

获取一个对象,该对象包含的信息可用于从测试管理器服务器获取有关该测试用例的更多数据。

(继承自 TestCaseEventArgs)
TestCaseId

获取或设置测试用例标识符。

(继承自 TestCaseEventArgs)
TestCaseName

获取或设置测试用例的名称。

(继承自 TestCaseEventArgs)
TestElement

获取当前测试。

(继承自 TestCaseEventArgs)

适用于