TestCaseFailedEventArgs Constructor

Initializes a new instance of the TestCaseFailedEventArgs class by using the provided parameter values.

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

Syntax

'Declaration
Public Sub New ( _
    context As DataCollectionContext, _
    testElement As ITestElement, _
    tcmInformation As TcmInformation, _
    failureType As TestCaseFailureType _
)
public TestCaseFailedEventArgs(
    DataCollectionContext context,
    ITestElement testElement,
    TcmInformation tcmInformation,
    TestCaseFailureType failureType
)
public:
TestCaseFailedEventArgs(
    DataCollectionContext^ context, 
    ITestElement^ testElement, 
    TcmInformation^ tcmInformation, 
    TestCaseFailureType failureType
)
new : 
        context:DataCollectionContext * 
        testElement:ITestElement * 
        tcmInformation:TcmInformation * 
        failureType:TestCaseFailureType -> TestCaseFailedEventArgs
public function TestCaseFailedEventArgs(
    context : DataCollectionContext, 
    testElement : ITestElement, 
    tcmInformation : TcmInformation, 
    failureType : TestCaseFailureType
)

Parameters

.NET Framework Security

See Also

Reference

TestCaseFailedEventArgs Class

Microsoft.VisualStudio.TestTools.Execution Namespace

DataCollectionContext

ITestElement

TcmInformation

TestCaseFailureType