TestCaseFailedEventArgs – konstruktor
Inicializuje novou instanci TestCaseFailedEventArgs třídy pomocí hodnoty zadané parametrem.
Obor názvů: Microsoft.VisualStudio.TestTools.Execution
Sestavení: Microsoft.VisualStudio.QualityTools.ExecutionCommon (v Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntaxe
'Deklarace
Public Sub New ( _
context As DataCollectionContext, _
testElement As ITestElement, _
tcmInformation As TcmInformation, _
failureType As TestCaseFailureType _
)
public TestCaseFailedEventArgs(
DataCollectionContext context,
ITestElement testElement,
TcmInformation tcmInformation,
TestCaseFailureType failureType
)
public:
TestCaseFailedEventArgs(
DataCollectionContext^ context,
ITestElement^ testElement,
TcmInformation^ tcmInformation,
TestCaseFailureType failureType
)
new :
context:DataCollectionContext *
testElement:ITestElement *
tcmInformation:TcmInformation *
failureType:TestCaseFailureType -> TestCaseFailedEventArgs
public function TestCaseFailedEventArgs(
context : DataCollectionContext,
testElement : ITestElement,
tcmInformation : TcmInformation,
failureType : TestCaseFailureType
)
Parametry
- context
Typ: Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext
A DataCollectionContext objekt obsahující aktuální informace o kontextu.
- testElement
Typ: Microsoft.VisualStudio.TestTools.Common.ITestElement
Přidruženého ITestElement objektu.
- tcmInformation
Typ: Microsoft.VisualStudio.TestTools.Common.TcmInformation
A TcmInformation obsahující informace o Správci testovacího případu.
- failureType
Typ: Microsoft.VisualStudio.TestTools.Execution.TestCaseFailureType
Jeden z TestCaseFailureType hodnoty.
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.