Partager via


ThreadCheckpointEvent Class

Describes the checkpoint event for a thread in an IntelliTrace file.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.IntelliTrace.IntelliTraceEvent
    Microsoft.VisualStudio.IntelliTrace.OrdinalEvent
      Microsoft.VisualStudio.IntelliTrace.PartitioningEvent
        Microsoft.VisualStudio.IntelliTrace.ThreadCheckpointEvent

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

Syntax

'Déclaration
Public NotInheritable Class ThreadCheckpointEvent _
    Inherits PartitioningEvent
public sealed class ThreadCheckpointEvent : PartitioningEvent
public ref class ThreadCheckpointEvent sealed : public PartitioningEvent
[<Sealed>]
type ThreadCheckpointEvent =  
    class
        inherit PartitioningEvent
    end
public final class ThreadCheckpointEvent extends PartitioningEvent

The ThreadCheckpointEvent type exposes the following members.

Properties

  Name Description
Public property EventTime Gets the time of the checkpoint by using the high resolution counter.
Public property EventToken Gets an EventToken for this event in the corresponding PartitionedChain. (Inherited from PartitioningEvent.)
Public property IntelliTraceThreadId Get the IntelliTrace thread id for this event.
Public property Ordinal Gets or sets the ordinal value. (Inherited from OrdinalEvent.)
Public property StackFrames Gets the call stack for the thread at this checkpoint.
Public property StackFramesInCommon Gets the number of stack frames that are in common.

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

A ThreadCheckpointEvent describes the state of a thread at a point in time and points to the next event that follows the checkpoint in time. The ThreadCheckpointEvent is one of the events in the CheckpointChain or CheckpointStreamChain.

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