TestCaseEventArgs – konstruktor (DataCollectionContext, ITestElement, TcmInformation)
Inicializuje novou instanci TestCaseEventArgs třídy pomocí zadané 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, _
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
)
Parametry
- context
Typ: Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext
A DataCollectionContext objektu.
- testElement
Typ: Microsoft.VisualStudio.TestTools.Common.ITestElement
Aktuální prvek testu 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.
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.