Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of the TestCaseFailedEventArgs class by using the provided parameter values.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
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
)
Parameters
context
Type: Microsoft.VisualStudio.TestTools.Execution.DataCollectionContextA DataCollectionContext object containing current context information.
testElement
Type: Microsoft.VisualStudio.TestTools.Common.ITestElementThe associated ITestElement object.
tcmInformation
Type: Microsoft.VisualStudio.TestTools.Common.TcmInformationA TcmInformation containing information about the test case manager.
failureType
Type: Microsoft.VisualStudio.TestTools.Execution.TestCaseFailureTypeOne of the TestCaseFailureType values.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.