Share via


TestCaseEventArgs Class

Definition

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

public ref class TestCaseEventArgs abstract : Microsoft::VisualStudio::TestTools::Execution::DataCollectionEventArgs
[System.Serializable]
public abstract class TestCaseEventArgs : Microsoft.VisualStudio.TestTools.Execution.DataCollectionEventArgs
[<System.Serializable>]
type TestCaseEventArgs = class
    inherit DataCollectionEventArgs
Public MustInherit Class TestCaseEventArgs
Inherits DataCollectionEventArgs
Inheritance
Derived
Attributes

Constructors

TestCaseEventArgs(DataCollectionContext, Guid, TcmInformation, String, Boolean)

Initializes a new instance of the TestCaseEventArgs class by using the given information.

TestCaseEventArgs(DataCollectionContext, ITestElement, TcmInformation)

Initializes a new instance of the TestCaseEventArgs class by using the provided information.

Properties

Context

Gets or sets the context information for the event.

(Inherited from DataCollectionEventArgs)
IsChildTestCase

Gets or sets a value that indicates whether the test case is a child of another test case.

TargetDataCollectorUri (Inherited from DataCollectionEventArgs)
TcmInformation

Gets the object that contains information that can be used to obtain further data about the test case from the Test Manager server.

TestCaseId

Gets or sets the test case identifier.

TestCaseName

Gets or sets the name of the test case.

TestElement

Gets the current test.

Applies to