FilteredListChain Class

Definition

Provides a filtered chain of events recorded from a running application. FilteredListChain uses a ListChain and loads all chain data into memory. When deriving from FilteredListChain, implement IsValidEventType(IntelliTraceEvent) to provide the filtering desired.

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

Constructors

FilteredListChain(ListChain)

Initializes a new instance of the FilteredListChain class.

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.

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

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)

When overridden in a derived class, determines if the given IntelliTraceEvent is valid for this chain.

(Inherited from Chain)
IsValidToken(EventToken)

Determines if the given EventToken is valid for this chain.

Refresh()

Loads all recorded events for this chain and apply the filtering specified in IsValidEventType(IntelliTraceEvent). As more events are recorded from the running application, use Refresh to update the chain.

Tokens() (Inherited from Chain)

Explicit Interface Implementations

IEnumerable.GetEnumerator() (Inherited from Chain)

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Applies to