Share via


FilteredStreamChain Class

Definition

Provides a stream of events recorded from a running application. StreamChain provides on-demand access and instantiation of events in the stream when GetEvent or GetEvents(EventToken, EventToken) is called. IntelliTraceEvents are not stored by the StreamChain.

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

Properties

Access

Gets the type of access permitted to the chain.

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

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

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.

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

Appends an IntelliTraceEvent to a stream.

(Inherited from StreamChain)
ConvertToBytes(IntelliTraceEvent)

When overridden in a derived class, converts an IntelliTraceEvent to a raw event.

(Inherited from StreamChain)
ConvertToEvent(EventToken, Byte[], Int32)

When overridden in a derived class, converts a raw event to an IntelliTraceEvent.

(Inherited from StreamChain)
Dispose()

Releases resources used by this chain.

(Inherited from Chain)
Dispose(Boolean)

Releases the resources used by this chain.

(Inherited from StreamChain)
FilteredEvent(EventToken)

Gets a value that determines if the event pointed to by token is in the filter list or not.

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

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

Determines if the given EventToken is valid for this chain.

(Inherited from StreamChain)
ReadEventBytes()

When overridden in a derived class, reads a single raw event from the stream.

(Inherited from StreamChain)
ReadEventId(EventToken)

When overridden in a derived class, reads the event id for the specified event.

ReadEventLength()

When overridden in a derived class, gets the length of the next event in the stream.

(Inherited from StreamChain)
SkipToNextUnfilteredEvent(EventToken)

If the specified token points to an event that should be filtered for this FilteredStreamChain, skips all filtered events to the next event that is not in the filter list. If the specified token points to an event not in the filter list, the same EventToken is returned.

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