Udostępnij za pośrednictwem


Konstruktor TestCaseEventArgs — (DataCollectionContext, Guid, TcmInformation, String, Boolean)

Inicjuje nowe wystąpienie TestCaseEventArgs klasy przy użyciu podanych informacji.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.Execution
Zestaw:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (w Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Składnia

'Deklaracja
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
)

Parametry

  • testCaseId
    Typ: System.Guid
    Bieżący identyfikator badania sprawy, która jest reprezentowana przez ITestElement obiektu.
  • isChildTestCase
    Typ: System.Boolean
    true Jeśli bieżącym przypadku badanie jest dziecka w innym przypadku badanie.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

TestCaseEventArgs Klasa

Przeciążenie TestCaseEventArgs

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Execution

DataCollectionContext

ITestElement

TcmInformation