Information
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.

TestCaseFailedEventArgs Constructor (DataCollectionContext^, ITestElement^, TcmInformation^, TestCaseFailureType)

 

Initializes a new instance of the TestCaseFailedEventArgs class by using the provided context, test element, and test case manager information.

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

public:
TestCaseFailedEventArgs(
	DataCollectionContext^ context,
	ITestElement^ testElement,
	TcmInformation^ tcmInformation,
	TestCaseFailureType failureType
)

Parameters

context
Type: Microsoft.VisualStudio.TestTools.Execution::DataCollectionContext^

A DataCollectionContext object.

testElement
Type: Microsoft.VisualStudio.TestTools.Common::ITestElement^

An ITestElement that represents the test case that has failed.

tcmInformation
Type: Microsoft.VisualStudio.TestTools.Common::TcmInformation^

A TcmInformation that has information about the test case manager.

failureType
Type: Microsoft.VisualStudio.TestTools.Execution::TestCaseFailureType

One of the TestCaseFailureType values.

Return to top
Show: