This documentation is archived and is not being maintained.

TestCaseEventArgs Class

Provides a base class for all event argument classes that are used in test case events.


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

public abstract class TestCaseEventArgs : DataCollectionEventArgs

The TestCaseEventArgs type exposes the following members.

Protected methodTestCaseEventArgs(DataCollectionContext, ITestElement, TcmInformation)Initializes a new instance of the TestCaseEventArgs class by using the provided information.
Protected methodTestCaseEventArgs(DataCollectionContext, Guid, TcmInformation, String, Boolean)Initializes a new instance of the TestCaseEventArgs class by using the given information.

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

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.