共用方式為


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