TestCaseEventArgs Class

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

System.Object
  System.EventArgs
    Microsoft.VisualStudio.TestTools.Execution.DataCollectionEventArgs
      Microsoft.VisualStudio.TestTools.Execution.TestCaseEventArgs
        More...

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

[SerializableAttribute]
public abstract class TestCaseEventArgs : DataCollectionEventArgs

The TestCaseEventArgs type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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 propertyTargetDataCollectorUri (Inherited from DataCollectionEventArgs.)
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.
Top

  NameDescription
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 the default hash function. (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.)
Top

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft