Share via


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

Initializes a new instance of the TestCaseEventArgs class by using the given information.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

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

Parameters

  • testCaseId
    Type: Guid

    The current test case ID that is represented by an ITestElement object.

  • testCaseName
    Type: String

    The name of the test case.

  • isChildTestCase
    Type: Boolean

    true if the current test case is a child of another test case.

.NET Framework Security

See Also

Reference

TestCaseEventArgs Class

TestCaseEventArgs Overload

Microsoft.VisualStudio.TestTools.Execution Namespace

DataCollectionContext

ITestElement

TcmInformation