Konstruktor TestCaseEventArgs — (DataCollectionContext, ITestElement, TcmInformation)
Inicjuje nowe wystąpienie TestCaseEventArgs klasy przy użyciu podanych informacji.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.Execution
Zestaw: Microsoft.VisualStudio.QualityTools.ExecutionCommon (w Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Składnia
'Deklaracja
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 object.
- testElement
Typ: Microsoft.VisualStudio.TestTools.Common.ITestElement
Bieżącego elementu badania, która jest reprezentowana przez ITestElement obiektu.
- tcmInformation
Typ: Microsoft.VisualStudio.TestTools.Common.TcmInformation
A TcmInformation obiekt, który jest używany do uzyskania dalszych danych dotyczących badań z Test Manager.
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..
Zobacz też
Informacje
Przeciążenie TestCaseEventArgs