Freigeben über


OrdinalEvent Class

Describes an event that is ordered in time, relative to other ordinal events.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.IntelliTrace.IntelliTraceEvent
    Microsoft.VisualStudio.IntelliTrace.OrdinalEvent
      More...

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

Syntax

'Declaration
Public Class OrdinalEvent _
    Inherits IntelliTraceEvent _
    Implements IComparable, IComparer(Of OrdinalEvent),  _
    IComparable(Of OrdinalEvent)
public class OrdinalEvent : IntelliTraceEvent, 
    IComparable, IComparer<OrdinalEvent>, IComparable<OrdinalEvent>
public ref class OrdinalEvent : public IntelliTraceEvent, 
    IComparable, IComparer<OrdinalEvent^>, IComparable<OrdinalEvent^>
type OrdinalEvent =  
    class
        inherit IntelliTraceEvent
        interface IComparable
        interface IComparer<OrdinalEvent>
        interface IComparable<OrdinalEvent>
    end
public class OrdinalEvent extends IntelliTraceEvent implements IComparable, IComparer<OrdinalEvent>, IComparable<OrdinalEvent>

The OrdinalEvent type exposes the following members.

Constructors

  Name Description
Protected method OrdinalEvent Initializes a new instance of the OrdinalEvent class.

Top

Properties

  Name Description
Public property Ordinal Gets or sets the ordinal value.

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.
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.
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.
Public method Equals(Object) Determines whether the specified object is equal to the current OrdinalEvent. (Overrides Object.Equals(Object).)
Public methodStatic member Equals(OrdinalEvent, OrdinalEvent) Determines whether the specified OrdinalEvents are considered equal.
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. (Overrides Object.GetHashCode().)
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

Operators

  Name Description
Public operatorStatic member Equality Determines whether two OrdinalEvents are considered equal.
Public operatorStatic member GreaterThan Determines whether the first OrdinalEvent is considered greater than the second.
Public operatorStatic member Inequality Determines whether two OrdinalEvents are considered not equal.
Public operatorStatic member LessThan Determines whether the first OrdinalEvent is considered less than the second.

Top

Remarks

Most recorded events are OrdinalEvents.

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

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.IntelliTrace.IntelliTraceEvent
    Microsoft.VisualStudio.IntelliTrace.OrdinalEvent
      Microsoft.VisualStudio.IntelliTrace.CallSiteEvent
      Microsoft.VisualStudio.IntelliTrace.CollectionPlanEvent
      Microsoft.VisualStudio.IntelliTrace.DataRequestedEvent
      Microsoft.VisualStudio.IntelliTrace.DebuggerInteractionEvent
      Microsoft.VisualStudio.IntelliTrace.DiagnosticEvent
      Microsoft.VisualStudio.IntelliTrace.ExceptionEvent
      Microsoft.VisualStudio.IntelliTrace.ExceptionThrownEvent
      Microsoft.VisualStudio.IntelliTrace.MethodEnterEvent
      Microsoft.VisualStudio.IntelliTrace.MethodExitEvent
      Microsoft.VisualStudio.IntelliTrace.ModuleIsUserCodeEvent
      Microsoft.VisualStudio.IntelliTrace.ModuleLoadEvent
      Microsoft.VisualStudio.IntelliTrace.ModuleMetadataEvent
      Microsoft.VisualStudio.IntelliTrace.ModuleTokenEvent
      Microsoft.VisualStudio.IntelliTrace.ModuleUnloadEvent
      Microsoft.VisualStudio.IntelliTrace.NullEvent
      Microsoft.VisualStudio.IntelliTrace.PartitioningEvent
      Microsoft.VisualStudio.IntelliTrace.ProcessDestroyedEvent
      Microsoft.VisualStudio.IntelliTrace.ProcessInformationEvent
      Microsoft.VisualStudio.IntelliTrace.ResolvedCallSiteEvent
      Microsoft.VisualStudio.IntelliTrace.ResolvedDiagnosticEvent
      Microsoft.VisualStudio.IntelliTrace.ResolvedMethodEvent
      Microsoft.VisualStudio.IntelliTrace.SystemInformationEvent
      Microsoft.VisualStudio.IntelliTrace.TestCaseEvent
      Microsoft.VisualStudio.IntelliTrace.TestRunContextEvent
      Microsoft.VisualStudio.IntelliTrace.TestSessionEvent
      Microsoft.VisualStudio.IntelliTrace.TestStepEvent
      Microsoft.VisualStudio.IntelliTrace.ThreadCreateEvent
      Microsoft.VisualStudio.IntelliTrace.ThreadDestroyEvent
      Microsoft.VisualStudio.IntelliTrace.ThreadNameChangedEvent