TestCaseEventArgs – konstruktor (DataCollectionContext, Guid, TcmInformation, String, Boolean)
Inicializuje novou instanci TestCaseEventArgs třídy pomocí dané informace.
Obor názvů: Microsoft.VisualStudio.TestTools.Execution
Sestavení: Microsoft.VisualStudio.QualityTools.ExecutionCommon (v Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntaxe
'Deklarace
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
)
Parametry
- context
Typ: Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext
A DataCollectionContext objektu.
- testCaseId
Typ: System.Guid
Aktuální ID zkušební případ je vyjádřen ITestElement objektu.
- tcmInformation
Typ: Microsoft.VisualStudio.TestTools.Common.TcmInformation
A TcmInformation objekt, který se používá k získání dalších dat z test Test Manager.
- testCaseName
Typ: System.String
Název testovacího případu.
- isChildTestCase
Typ: System.Boolean
true Pokud aktuální zkušební případ je podřízeným jiném případě test.
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.