共用方式為


TestSessionEvent Class

Definition

Describes the common properties of a test session event: TestSessionStartEvent, TestSessionEndEvent, TestSessionPauseEvent, and TestSessionResumeEvent.

public ref class TestSessionEvent abstract : Microsoft::VisualStudio::IntelliTrace::OrdinalEvent
[Windows::Foundation::Metadata::WebHostHidden]
public ref class TestSessionEvent abstract : Microsoft::VisualStudio::IntelliTrace::OrdinalEvent
[Windows::Foundation::Metadata::WebHostHidden]
class TestSessionEvent abstract : Microsoft::VisualStudio::IntelliTrace::OrdinalEvent
public abstract class TestSessionEvent : Microsoft.VisualStudio.IntelliTrace.OrdinalEvent
type TestSessionEvent = class
    inherit OrdinalEvent
Public MustInherit Class TestSessionEvent
Inherits OrdinalEvent
Inheritance
Derived

Properties

EventTime

Gets the time of the event using the high resolution counter. This value is retrieved from QueryPerformanceCounter.

Ordinal

Gets or sets the ordinal value.

(Inherited from OrdinalEvent)
SessionId

Gets the test session id: a unique identifier that identifies the test session.

Methods

Compare(OrdinalEvent, OrdinalEvent)

Compares one instance with another instance and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other instance.

(Inherited from OrdinalEvent)
CompareTo(Object)

Compares the current instance with another instance and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other instance.

(Inherited from OrdinalEvent)
CompareTo(OrdinalEvent)

Compares the current instance with another instance and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other instance.

(Inherited from OrdinalEvent)
Equals(Object)

Determines whether the specified object is equal to the current OrdinalEvent.

(Inherited from OrdinalEvent)
GetHashCode()

Gets a hash code for this OrdinalEvent.

(Inherited from OrdinalEvent)

Applies to