PartitionedListChain Class

Definition

Provides a list of events recorded from a running application. A PartitionedListChain loads events into partitions for better memory management and to enable loading large chains of events.

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

Properties

AfterLastToken

Gets an EventToken for the 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.

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).

(Inherited from Chain)
Count

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

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.

PartitionedChain

Gets the StreamChain that is the source of the events for this chain.

PartitioningChain

Gets the DerivedChain that contains each of the partitioning events that are used to divide the larger chain into partitions.

PartitionLoadLimitEnabled

Gets or sets a value that indicates whether there is a limit to the number of partitions the PartitionedListChain will load simultaneously (before unloading the least recently used partitions).

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 token for the previous event before the given token.

IsValidEventType(IntelliTraceEvent)

Determines if the given IntelliTraceEvent is valid for this chain.

IsValidToken(EventToken)

Determines if the given EventToken is valid for this chain.

OnPartitionUpdate(PartitioningEvent, IList<IntelliTraceEvent>)
Refresh()

Refreshes the data in the chain from the partitioning and partitioned event chains.

Tokens() (Inherited from Chain)

Explicit Interface Implementations

IEnumerable.GetEnumerator() (Inherited from Chain)

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Applies to