ListChain Class

Provides a list of events that was recorded from a running application.

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

public abstract class ListChain : DerivedChain

The ListChain type exposes the following members.

Protected methodListChainInitializes a new instance of the ListChain class.

Public propertyAfterLastTokenGets an EventToken that represents a position that is immediately after the current LastToken. (Overrides Chain.AfterLastToken.)
Public propertyBeforeFirstTokenGets an EventToken for the position that is immediately before FirstToken. (Inherited from Chain.)
Public propertyCanGetCountGets a value that determines whether the chain supports Count. (Overrides Chain.CanGetCount.)
Public propertyCanGetLastTokenGets a value that determines whether the chain supports LastToken. (Overrides Chain.CanGetLastToken.)
Public propertyCanGetPreviousTokenGets a value that determines whether the chain supports GetPreviousToken. (Overrides Chain.CanGetPreviousToken.)
Public propertyCountGets the number of events in the chain. (Overrides Chain.Count.)
Protected propertyEventListGets the internal list for this ListChain.
Public propertyFirstTokenGets an EventToken for the first event in the chain. (Overrides Chain.FirstToken.)
Public propertyFirstValidTokenGets an EventToken for the first valid event in the chain. (Overrides Chain.FirstValidToken.)
Public propertyIsEmptyGets a value that indicates whether the chain is empty. (Overrides Chain.IsEmpty.)
Public propertyLastTokenGets an EventToken for the last event in the chain. (Overrides Chain.LastToken.)

Public methodDispose() (Inherited from Chain.)
Protected methodDispose(Boolean)Releases the resources that are used by this chain. (Overrides Chain.Dispose(Boolean).)
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetEventGets an IntelliTraceEvent for the specified EventToken. (Overrides Chain.GetEvent(EventToken).)
Public methodGetEventsGets multiple IntelliTraceEvents from a start EventToken up to but excluding an end EventToken. (Overrides Chain.GetEvents(EventToken, EventToken).)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetNextTokenGets the EventToken for the next event after the given EventToken. (Overrides Chain.GetNextToken(EventToken).)
Public methodGetPreviousTokenGets the EventToken for the previous event before the given EventToken. (Overrides Chain.GetPreviousToken(EventToken).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsValidEventTypeDetermines whether the given IntelliTraceEvent is valid for this chain. (Overrides Chain.IsValidEventType(IntelliTraceEvent).)
Public methodIsValidTokenDetermines whether the given EventToken is valid for this chain. (Overrides Chain.IsValidToken(EventToken).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRefreshRefreshes the event list from the chain sources and loads each event from the chain into memory. (Overrides DerivedChain.Refresh().)
Public methodToSourceTokenConverts an EventToken for this chain to an EventToken for the source Chain.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

When Refresh is called, ListChain loads all chain data into memory and stores each instantiated IntelliTraceEvent.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions