共用方式為


TestStepStartEvent Class

Describes a TestStepStartEvent.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.IntelliTrace.IntelliTraceEvent
    Microsoft.VisualStudio.IntelliTrace.OrdinalEvent
      Microsoft.VisualStudio.IntelliTrace.TestStepEvent
        Microsoft.VisualStudio.IntelliTrace.TestStepStartEvent

Namespace:  Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)

Syntax

'宣告
Public NotInheritable Class TestStepStartEvent _
    Inherits TestStepEvent
public sealed class TestStepStartEvent : TestStepEvent
public ref class TestStepStartEvent sealed : public TestStepEvent
[<Sealed>]
type TestStepStartEvent =  
    class
        inherit TestStepEvent
    end
public final class TestStepStartEvent extends TestStepEvent

The TestStepStartEvent type exposes the following members.

Properties

  Name Description
Public property EventTime Gets the time of the event by using the high resolution counter, which is retrieved from QueryPerformanceCounter. (Inherited from TestStepEvent.)
Public property IsChildTestCase Gets a flag that determines whether this test case is a child of a test case. (Inherited from TestStepEvent.)
Public property Ordinal Gets or sets the ordinal value. (Inherited from OrdinalEvent.)
Public property SessionId Gets the test session ID, which identifies the test session. (Inherited from TestStepEvent.)
Public property TestCaseId Gets the test case ID, which identifies this test case. (Inherited from TestStepEvent.)
Public property TestCaseManagerId Gets the test case manager ID, which identifies the test case in Team Foundation Server. (Inherited from TestStepEvent.)
Public property TestCaseName Gets the name of the test case. (Inherited from TestStepEvent.)
Public property TestExecutionId Gets the test execution ID, which identifies this test instance. (Inherited from TestStepEvent.)
Public property TestStepDescription Gets the description of this test step. (Inherited from TestStepEvent.)
Public property TestStepId Gets the id of this test step. (Inherited from TestStepEvent.)

Top

Methods

  Name Description
Public method Compare Compares one instance with another instance and returns an integer that indicates whether the current instance comes before, follows, or occurs in the same sort position order as the other instance. (Inherited from OrdinalEvent.)
Public method CompareTo(Object) Compares the current instance with another instance and returns an integer that indicates whether the current instance comes before, follows, or occurs in the same position in the sort order as the other instance. (Inherited from OrdinalEvent.)
Public method CompareTo(OrdinalEvent) Compares the current instance with another instance and returns an integer that indicates whether the current instance comes before, follows, or occurs in the same sort position as the other instance. (Inherited from OrdinalEvent.)
Public method Equals(Object) Determines whether the specified object is equal to the current OrdinalEvent. (Inherited from OrdinalEvent.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Gets a hash code for this OrdinalEvent. (Inherited from OrdinalEvent.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

The TestStepStartEvent is one of the events in the TestChain or TestStreamChain.

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.IntelliTrace Namespace