The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DataCollectorNotifications::RaiseTestFailedEvent Method (ITestElement^, TestCaseFailureType)
Raises a TestCaseFailed event to notify diagnostic data adapters that the test case has failed.
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
public: virtual void RaiseTestFailedEvent( ITestElement^ testCase, TestCaseFailureType failureType ) abstract
Parameters
- testCase
-
Type:
Microsoft.VisualStudio.TestTools.Common::ITestElement^
An ITestElement object that represents the current test case.
- failureType
-
Type:
Microsoft.VisualStudio.TestTools.Execution::TestCaseFailureType
One of the TestCaseFailureType values.
Show: