Share via


DerivedChain Class

Definition

Represents a chain of events that are recorded from a running application with an in-memory cache of events.

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

Constructors

DerivedChain()

Properties

AfterLastToken

When overridden in a derived class, 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.

(Inherited from Chain)
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.

(Inherited from Chain)
CanGetLastToken

Gets a value that determines if the chain supports LastToken.

(Inherited from Chain)
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.

(Inherited from Chain)
FirstToken

When overridden in a derived class, gets an EventToken for the first event in the chain.

(Inherited from Chain)
FirstValidToken

When overridden in a derived class, gets an EventToken for the first valid event in the chain.

(Inherited from Chain)
IsEmpty

When overridden in a derived class, gets a value that indicates if the chain is empty.

(Inherited from Chain)
LastToken

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

(Inherited from Chain)

Methods

Dispose()

Releases resources used by this chain.

(Inherited from Chain)
Dispose(Boolean)

Releases the resources used by this chain.

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

When overridden in a derived class, gets an IntelliTraceEvent for the specified EventToken.

(Inherited from Chain)
GetEvents(EventToken, EventToken)

When overridden in a derived class, gets multiple IntelliTraceEvents from a start EventToken up to but not including an end EventToken.

(Inherited from Chain)
GetNextToken(EventToken)

When overridden in a derived class, gets the EventToken for the next event after the given EventToken.

(Inherited from Chain)
GetPreviousToken(EventToken)

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

(Inherited from Chain)
IsValidEventType(IntelliTraceEvent)

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

(Inherited from Chain)
IsValidToken(EventToken)

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

(Inherited from Chain)
Refresh()

When overridden in a derived class, refreshes the internal event cache from chain sources.

Tokens() (Inherited from Chain)

Explicit Interface Implementations

IEnumerable.GetEnumerator() (Inherited from Chain)

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Return this enumeration in case it is not null. In case it is null return empty enumeration.

Applies to