Export (0) Print
Expand All

PartitionedListChain 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 PartitionedListChain : DerivedChain

The PartitionedListChain type exposes the following members.

Public propertyAfterLastTokenGets an EventToken for the position that is immediately after the current LastToken. (Overrides Chain.AfterLastToken.)
Public propertyBeforeFirstTokenGets an EventToken for the position that is immediately before FirstToken. This token will never become valid. (Overrides Chain.BeforeFirstToken.)
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. (Inherited from Chain.)
Public propertyCountGets the number of events in the chain. This property can be called only when CanGetCount returns true. (Overrides Chain.Count.)
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.)
Protected propertyPartitionedChainGets the StreamChain that is the source of the events for this chain.
Protected propertyPartitioningChainGets the DerivedChain that contains each of the partitioning events that are used to divide the larger chain into partitions.
Public propertyPartitionLoadLimitEnabledGets a value that indicates whether there is a limit to the number of partitions that the PartitionedListChain will load at the same time (before unloading the least recently used partitions).

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 token for the previous event before the given token. (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 data in the chain from the partitioning and partitioned event chains. (Overrides DerivedChain.Refresh().)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

A PartitionedListChain loads events into partitions for better memory management and to enable loading large chains of events.

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

© 2015 Microsoft