We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

TestCaseFailedEventArgs Class

Represents the arguments that are provided for a TestCaseFailed event.

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

public sealed class TestCaseFailedEventArgs : TestCaseEventArgs

The TestCaseFailedEventArgs type exposes the following members.

Public methodTestCaseFailedEventArgsInitializes a new instance of the TestCaseFailedEventArgs class by using the provided parameter values.

Public propertyContextGets or sets the context information for the event. (Inherited from DataCollectionEventArgs.)
Public propertyFailureTypeGets or sets the type of failure, if any.
Public propertyIsChildTestCaseGets or sets a value that indicates whether the test case is a child of another test case. (Inherited from TestCaseEventArgs.)
Public propertyTcmInformationGets the object that contains information that can be used to obtain further data about the test case from the Test Manager server. (Inherited from TestCaseEventArgs.)
Public propertyTestCaseIdGets or sets the test case identifier. (Inherited from TestCaseEventArgs.)
Public propertyTestCaseNameGets or sets the name of the test case. (Inherited from TestCaseEventArgs.)
Public propertyTestElementGets the current test. (Inherited from TestCaseEventArgs.)

Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.