TestCaseEventArgs Constructor (DataCollectionContext, Guid, TcmInformation, String, Boolean)
Initializes a new instance of the TestCaseEventArgs class by using the given 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, _
testCaseId As Guid, _
tcmInformation As TcmInformation, _
testCaseName As String, _
isChildTestCase As Boolean _
)
protected TestCaseEventArgs(
DataCollectionContext context,
Guid testCaseId,
TcmInformation tcmInformation,
string testCaseName,
bool isChildTestCase
)
protected:
TestCaseEventArgs(
DataCollectionContext^ context,
Guid testCaseId,
TcmInformation^ tcmInformation,
String^ testCaseName,
bool isChildTestCase
)
new :
context:DataCollectionContext *
testCaseId:Guid *
tcmInformation:TcmInformation *
testCaseName:string *
isChildTestCase:bool -> TestCaseEventArgs
protected function TestCaseEventArgs(
context : DataCollectionContext,
testCaseId : Guid,
tcmInformation : TcmInformation,
testCaseName : String,
isChildTestCase : boolean
)
Parameters
context
Type: Microsoft.VisualStudio.TestTools.Execution.DataCollectionContextA DataCollectionContext object.
testCaseId
Type: GuidThe current test case ID that is represented by an 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.
testCaseName
Type: StringThe name of the test case.
isChildTestCase
Type: Booleantrue if the current test case is a child of another test case.
.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.