Partilhar via


Construtor TestCaseFailedEventArgs

Inicializa uma nova instância da TestCaseFailedEventArgs classe usando os valores de parâmetro fornecido.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (em Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Sintaxe

'Declaração
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
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

TestCaseFailedEventArgs Classe

Namespace Microsoft.VisualStudio.TestTools.Execution

DataCollectionContext

ITestElement

TcmInformation

TestCaseFailureType