TestCaseEventArgs Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| TestCaseEventArgs(DataCollectionContext, ITestElement, TcmInformation) |
Initialisiert eine neue Instanz der- TestCaseEventArgs Klasse unter Verwendung der bereitgestellten Informationen. |
| TestCaseEventArgs(DataCollectionContext, Guid, TcmInformation, String, Boolean) |
Initialisiert eine neue Instanz der- TestCaseEventArgs Klasse unter Verwendung der angegebenen Informationen. |
TestCaseEventArgs(DataCollectionContext, ITestElement, TcmInformation)
Initialisiert eine neue Instanz der- TestCaseEventArgs Klasse unter Verwendung der bereitgestellten Informationen.
protected:
TestCaseEventArgs(Microsoft::VisualStudio::TestTools::Execution::DataCollectionContext ^ context, Microsoft::VisualStudio::TestTools::Common::ITestElement ^ testElement, Microsoft::VisualStudio::TestTools::Common::TcmInformation ^ tcmInformation);
protected TestCaseEventArgs (Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext context, Microsoft.VisualStudio.TestTools.Common.ITestElement testElement, Microsoft.VisualStudio.TestTools.Common.TcmInformation tcmInformation);
new Microsoft.VisualStudio.TestTools.Execution.TestCaseEventArgs : Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext * Microsoft.VisualStudio.TestTools.Common.ITestElement * Microsoft.VisualStudio.TestTools.Common.TcmInformation -> Microsoft.VisualStudio.TestTools.Execution.TestCaseEventArgs
Protected Sub New (context As DataCollectionContext, testElement As ITestElement, tcmInformation As TcmInformation)
Parameter
- context
- DataCollectionContext
Ein DataCollectionContext-Objekt.
- testElement
- ITestElement
Das aktuelle Test Element, das durch ein- ITestElement Objekt dargestellt wird.
- tcmInformation
- TcmInformation
Ein- TcmInformation Objekt, das zum Abrufen weiterer Daten über den Test aus dem Test Manager verwendet wird.
Gilt für
TestCaseEventArgs(DataCollectionContext, Guid, TcmInformation, String, Boolean)
Initialisiert eine neue Instanz der- TestCaseEventArgs Klasse unter Verwendung der angegebenen Informationen.
protected:
TestCaseEventArgs(Microsoft::VisualStudio::TestTools::Execution::DataCollectionContext ^ context, Guid testCaseId, Microsoft::VisualStudio::TestTools::Common::TcmInformation ^ tcmInformation, System::String ^ testCaseName, bool isChildTestCase);
protected TestCaseEventArgs (Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext context, Guid testCaseId, Microsoft.VisualStudio.TestTools.Common.TcmInformation tcmInformation, string testCaseName, bool isChildTestCase);
new Microsoft.VisualStudio.TestTools.Execution.TestCaseEventArgs : Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext * Guid * Microsoft.VisualStudio.TestTools.Common.TcmInformation * string * bool -> Microsoft.VisualStudio.TestTools.Execution.TestCaseEventArgs
Protected Sub New (context As DataCollectionContext, testCaseId As Guid, tcmInformation As TcmInformation, testCaseName As String, isChildTestCase As Boolean)
Parameter
- context
- DataCollectionContext
Ein DataCollectionContext-Objekt.
- testCaseId
- Guid
Die aktuelle Testfall-ID, die durch ein-Objekt dargestellt wird ITestElement .
- tcmInformation
- TcmInformation
Ein- TcmInformation Objekt, das zum Abrufen weiterer Daten über den Test aus dem Test Manager verwendet wird.
- testCaseName
- String
Der Name des Testfalls.
- isChildTestCase
- Boolean
true, wenn der aktuelle Testfall ein untergeordnetes Element eines anderen Testfalls ist.