ListChain Class

Definition

Provides a list of events recorded from a running application. When Refresh() is called, ListChain loads all chain data into memory and stores each instantiated IntelliTraceEvent.

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

Constructors

ListChain(Chain)

Initializes a new instance of the ListChain class.

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.

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.

CanGetLastToken

Gets a value that determines if the chain supports LastToken.

CanGetPreviousToken

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

Count

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

EventList
FirstToken

Gets an EventToken for the first event in the chain.

FirstValidToken

Gets an EventToken for the first valid event in the chain

IsEmpty

Gets a value that indicates if the chain is empty.

LastToken

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

Methods

Dispose()

Releases resources used by this chain.

(Inherited from Chain)
Dispose(Boolean)

Releases the resources used by this chain.

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

Gets an IntelliTraceEvent for the specified EventToken.

GetEvents(EventToken, EventToken)

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

GetNextToken(EventToken)

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

GetPreviousToken(EventToken)

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

IsValidEventType(IntelliTraceEvent)

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

IsValidToken(EventToken)

Determines if the given EventToken is valid for this chain.

Refresh()

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

ReloadEvent(EventToken)

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

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

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

Explicit Interface Implementations

IEnumerable.GetEnumerator() (Inherited from Chain)

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Applies to