TestCaseFailedEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the TestCaseFailedEventArgs class by using the provided parameter values.
public:
TestCaseFailedEventArgs(Microsoft::VisualStudio::TestTools::Execution::DataCollectionContext ^ context, Microsoft::VisualStudio::TestTools::Common::ITestElement ^ testElement, Microsoft::VisualStudio::TestTools::Common::TcmInformation ^ tcmInformation, Microsoft::VisualStudio::TestTools::Execution::TestCaseFailureType failureType);
public TestCaseFailedEventArgs (Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext context, Microsoft.VisualStudio.TestTools.Common.ITestElement testElement, Microsoft.VisualStudio.TestTools.Common.TcmInformation tcmInformation, Microsoft.VisualStudio.TestTools.Execution.TestCaseFailureType failureType);
new Microsoft.VisualStudio.TestTools.Execution.TestCaseFailedEventArgs : Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext * Microsoft.VisualStudio.TestTools.Common.ITestElement * Microsoft.VisualStudio.TestTools.Common.TcmInformation * Microsoft.VisualStudio.TestTools.Execution.TestCaseFailureType -> Microsoft.VisualStudio.TestTools.Execution.TestCaseFailedEventArgs
Public Sub New (context As DataCollectionContext, testElement As ITestElement, tcmInformation As TcmInformation, failureType As TestCaseFailureType)
Parameters
- context
- DataCollectionContext
A DataCollectionContext object containing current context information.
- testElement
- ITestElement
The associated ITestElement object.
- tcmInformation
- TcmInformation
A TcmInformation containing information about the test case manager.
- failureType
- TestCaseFailureType
One of the TestCaseFailureType values.