Share via


DataCollectorNotifications.RaiseTestFailedEvent Method

Raises a TestCaseFailed event to notify diagnostic data adapters that the test case has failed.

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

Syntax

'Declaration
Public MustOverride Sub RaiseTestFailedEvent ( _
    testCase As ITestElement, _
    failureType As TestCaseFailureType _
)
public abstract void RaiseTestFailedEvent(
    ITestElement testCase,
    TestCaseFailureType failureType
)
public:
virtual void RaiseTestFailedEvent(
    ITestElement^ testCase, 
    TestCaseFailureType failureType
) abstract
abstract RaiseTestFailedEvent : 
        testCase:ITestElement * 
        failureType:TestCaseFailureType -> unit
public abstract function RaiseTestFailedEvent(
    testCase : ITestElement, 
    failureType : TestCaseFailureType
)

Parameters

.NET Framework Security

See Also

Reference

DataCollectorNotifications Class

Microsoft.VisualStudio.TestTools.Execution Namespace

TestCaseFailed

ITestElement

TestCaseFailureType