RootChain Class

Definition

Represents a chain of events that are recorded from a running application with optional read and/or append support.

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

Constructors

RootChain()

Properties

Access

Gets the type of access permitted to the chain.

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

AppendEvent(IntelliTraceEvent)

When overridden in a derived class, appends an event to a stream.

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

Explicit Interface Implementations

IEnumerable.GetEnumerator() (Inherited from Chain)

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Applies to