Initializes a new instance of the TestCaseEventArgs class by using the provided information.
Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Protected Sub New ( _
    context As DataCollectionContext, _
    testElement As ITestElement, _
    tcmInformation As TcmInformation _
)
protected TestCaseEventArgs(
    DataCollectionContext context,
    ITestElement testElement,
    TcmInformation tcmInformation
)
protected:
TestCaseEventArgs(
    DataCollectionContext^ context, 
    ITestElement^ testElement, 
    TcmInformation^ tcmInformation
)
new : 
        context:DataCollectionContext * 
        testElement:ITestElement * 
        tcmInformation:TcmInformation -> TestCaseEventArgs
protected function TestCaseEventArgs(
    context : DataCollectionContext, 
    testElement : ITestElement, 
    tcmInformation : TcmInformation
)
Parameters
- context 
 Type: Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext- A DataCollectionContext object. 
- testElement 
 Type: Microsoft.VisualStudio.TestTools.Common.ITestElement- The current test element that is represented by a ITestElement object. 
- tcmInformation 
 Type: Microsoft.VisualStudio.TestTools.Common.TcmInformation- A TcmInformation object that is used to obtain further data about the test from the Test Manager. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.