Partager via


DiagnosticCheckpointChain Class

Provides a chain of DiagnosticEvents that was recorded from a running application.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.IntelliTrace.Chain
    Microsoft.VisualStudio.IntelliTrace.DerivedChain
      Microsoft.VisualStudio.IntelliTrace.FilteredListChain
        Microsoft.VisualStudio.IntelliTrace.DiagnosticCheckpointChain

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

Syntax

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

The DiagnosticCheckpointChain type exposes the following members.

Properties

  Name Description
Public property AfterLastToken Gets an EventToken for the position that is immediately after the current LastToken. (Inherited from FilteredListChain.)
Public property BeforeFirstToken Gets an EventToken for the position that is immediately before FirstToken. (Inherited from Chain.)
Public property CanGetCount Gets a value that determines whether the chain supports Count. (Inherited from FilteredListChain.)
Public property CanGetLastToken Gets a value that determines whether the chain supports LastToken. (Inherited from FilteredListChain.)
Public property CanGetPreviousToken Gets a value that determines whether the chain supports GetPreviousToken. (Inherited from FilteredListChain.)
Public property Count Gets the number of events in the chain. (Inherited from FilteredListChain.)
Public property FirstToken Gets an EventToken for the first event in the chain. (Inherited from FilteredListChain.)
Public property FirstValidToken Gets an EventToken for the first valid event in the chain. (Inherited from FilteredListChain.)
Public property IsEmpty Gets a value that indicates whether the chain is empty. (Inherited from FilteredListChain.)
Public property LastToken Gets an EventToken for the last event in the chain. (Inherited from FilteredListChain.)

Top

Methods

  Name Description
Public method Dispose() (Inherited from Chain.)
Protected method Dispose(Boolean) Releases the resources that are used by this chain. (Inherited from FilteredListChain.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
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 GetEvent Gets an IntelliTraceEvent for the specified EventToken. (Inherited from FilteredListChain.)
Public method GetEvents Gets multiple IntelliTraceEvents from a start EventToken up to but excluding an end EventToken. (Inherited from FilteredListChain.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetNextToken Gets the EventToken for the next event after the given EventToken. (Inherited from FilteredListChain.)
Public method GetPreviousToken Gets the EventToken for the previous event before the given EventToken. (Inherited from FilteredListChain.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsValidEventType Determines whether the given IntelliTraceEvent is valid for this chain. (Overrides Chain.IsValidEventType(IntelliTraceEvent).)
Public method IsValidToken Determines whether the given EventToken is valid for this chain. (Inherited from FilteredListChain.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Refresh Loads all recorded events for this chain and applies the filtering that is specified in IsValidEventType. (Inherited from FilteredListChain.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

DiagnosticCheckpointChain is a FilteredListChain and loads all chain data into memory.

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