DiagnosticCheckpointChain Class

Definition

Provides a chain of DiagnosticEvents recorded from a running application. DiagnosticCheckpointChain is a FilteredListChain and loads all chain data into memory.

public ref class DiagnosticCheckpointChain sealed : Microsoft::VisualStudio::IntelliTrace::ListChain
public ref class DiagnosticCheckpointChain sealed : Microsoft::VisualStudio::IntelliTrace::ListChain
class DiagnosticCheckpointChain sealed : Microsoft::VisualStudio::IntelliTrace::ListChain
public sealed class DiagnosticCheckpointChain : Microsoft.VisualStudio.IntelliTrace.ListChain
type DiagnosticCheckpointChain = class
    inherit ListChain
Public NotInheritable Class DiagnosticCheckpointChain
Inherits ListChain
Inheritance
DiagnosticCheckpointChain

Properties

AfterLastToken

Gets an EventToken that represents a position immediately after the current LastToken. If additional events get added to the chain, the token returned from AfterLastToken will become valid. This property is available even if CanGetLastToken returns false.

(Inherited from ListChain)
BeforeFirstToken

Gets an EventToken for the position immediately before FirstToken. This token will never become valid.

(Inherited from Chain)
CanGetCount

Gets a value that determines if the chain supports Count.

(Inherited from ListChain)
CanGetLastToken

Gets a value that determines if the chain supports LastToken.

(Inherited from ListChain)
CanGetPreviousToken

Gets a value that determines if the chain supports GetPreviousToken(EventToken).

(Inherited from ListChain)
Count

Gets the number of events in the chain. This property can only be called if CanGetCount returns true.

(Inherited from ListChain)
EventList (Inherited from ListChain)
FirstToken

Gets an EventToken for the first event in the chain.

(Inherited from ListChain)
FirstValidToken

Gets an EventToken for the first valid event in the chain

(Inherited from ListChain)
IsEmpty

Gets a value that indicates if the chain is empty.

(Inherited from ListChain)
LastToken

Gets an EventToken for the last event in the chain. This property can only be called if CanGetLastToken returns true.

(Inherited from ListChain)

Methods

Dispose()

Releases resources used by this chain.

(Inherited from Chain)
Dispose(Boolean)

Releases the resources used by this chain.

(Inherited from ListChain)
GetEnumerator() (Inherited from Chain)
GetEnumerator<TEvent>() (Inherited from Chain)
GetEvent(EventToken)

Gets an IntelliTraceEvent for the specified EventToken.

(Inherited from ListChain)
GetEvents(EventToken, EventToken)

Gets multiple IntelliTraceEvents from a start EventToken up to but not including an end EventToken.

(Inherited from ListChain)
GetNextToken(EventToken)

Gets the EventToken for the next event after the given EventToken.

(Inherited from ListChain)
GetPreviousToken(EventToken)

Gets the EventToken for the previous event before the given EventToken.

(Inherited from ListChain)
IsValidEventType(IntelliTraceEvent)

Determines if the given IntelliTraceEvent is valid for this chain. The event type must be one that is allowed in this chain.

(Inherited from ListChain)
IsValidToken(EventToken)

Determines if the given EventToken is valid for this chain.

(Inherited from ListChain)
Refresh()

Refreshes the event list from the chain sources and loads each event from the chain into memory.

(Inherited from ListChain)
ReloadEvent(EventToken)

Gets an IntelliTraceEvent for the specified EventToken, bypassing any caching.

(Inherited from ListChain)
Tokens() (Inherited from Chain)
ToSourceToken(EventToken)

Converts an EventToken for this chain to an EventToken for the source Chain

(Inherited from ListChain)

Explicit Interface Implementations

IEnumerable.GetEnumerator() (Inherited from Chain)

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Applies to