Condividi tramite


Costruttore TestCaseEventArgs (DataCollectionContext, Guid, TcmInformation, String, Boolean)

Inizializza una nuova istanza di TestCaseEventArgs classe utilizzando le informazioni specificate.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Sintassi

'Dichiarazione
Protected Sub New ( _
    context As DataCollectionContext, _
    testCaseId As Guid, _
    tcmInformation As TcmInformation, _
    testCaseName As String, _
    isChildTestCase As Boolean _
)
protected TestCaseEventArgs(
    DataCollectionContext context,
    Guid testCaseId,
    TcmInformation tcmInformation,
    string testCaseName,
    bool isChildTestCase
)
protected:
TestCaseEventArgs(
    DataCollectionContext^ context, 
    Guid testCaseId, 
    TcmInformation^ tcmInformation, 
    String^ testCaseName, 
    bool isChildTestCase
)
new : 
        context:DataCollectionContext * 
        testCaseId:Guid * 
        tcmInformation:TcmInformation * 
        testCaseName:string * 
        isChildTestCase:bool -> TestCaseEventArgs
protected function TestCaseEventArgs(
    context : DataCollectionContext, 
    testCaseId : Guid, 
    tcmInformation : TcmInformation, 
    testCaseName : String, 
    isChildTestCase : boolean
)

Parametri

  • isChildTestCase
    Tipo: System.Boolean
    true se il test case corrente è un elemento figlio di un altro test case.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

TestCaseEventArgs Classe

Overload TestCaseEventArgs

Spazio dei nomi Microsoft.VisualStudio.TestTools.Execution

DataCollectionContext

ITestElement

TcmInformation