TestCaseEventArgs Constructor (DataCollectionContext, ITestElement, TcmInformation)
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.DataCollectionContextA DataCollectionContext object.
testElement
Type: Microsoft.VisualStudio.TestTools.Common.ITestElementThe current test element that is represented by a ITestElement object.
tcmInformation
Type: Microsoft.VisualStudio.TestTools.Common.TcmInformationA 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.