TestCaseEventArgs 构造函数 (DataCollectionContext, ITestElement, TcmInformation)

使用提供的信息初始化 TestCaseEventArgs 类的新实例。

命名空间:  Microsoft.VisualStudio.TestTools.Execution
程序集:  Microsoft.VisualStudio.QualityTools.ExecutionCommon(在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)

语法

声明
Protected Sub New ( _
    context As DataCollectionContext, _
    testElement As ITestElement, _
    tcmInformation As TcmInformation _
)
protected TestCaseEventArgs(
    DataCollectionContext context,
    ITestElement testElement,
    TcmInformation tcmInformation
)
protected:
TestCaseEventArgs(
    DataCollectionContext^ context, 
    ITestElement^ testElement, 
    TcmInformation^ tcmInformation
)
new : 
        context:DataCollectionContext * 
        testElement:ITestElement * 
        tcmInformation:TcmInformation -> TestCaseEventArgs
protected function TestCaseEventArgs(
    context : DataCollectionContext, 
    testElement : ITestElement, 
    tcmInformation : TcmInformation
)

参数

.NET Framework 安全性

请参见

参考

TestCaseEventArgs 类

TestCaseEventArgs 重载

Microsoft.VisualStudio.TestTools.Execution 命名空间

DataCollectionContext

ITestElement

TcmInformation