Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

StreamChain Class

Provides a stream of events that was recorded from a running application.

System.Object
  Microsoft.VisualStudio.IntelliTrace.Chain
    Microsoft.VisualStudio.IntelliTrace.RootChain
      Microsoft.VisualStudio.IntelliTrace.StreamChain
        More...

Namespace:  Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.IntelliTrace.12.0.0 (in Microsoft.IntelliTrace.12.0.0.dll)

public abstract class StreamChain : RootChain

The StreamChain type exposes the following members.

  NameDescription
Public propertyAccessGets the type of access that is permitted to the chain. (Inherited from RootChain.)
Public propertyAfterLastTokenGets an EventToken for the position that is immediately after the current LastToken. (Overrides Chain.AfterLastToken.)
Public propertyBeforeFirstTokenGets an EventToken for the position that is immediately before FirstToken. (Inherited from Chain.)
Public propertyCanGetCountGets a value that determines whether the chain supports Count. (Inherited from Chain.)
Public propertyCanGetLastTokenGets a value that determines whether the chain supports LastToken. (Inherited from Chain.)
Public propertyCanGetPreviousTokenGets a value that determines whether the chain supports GetPreviousToken. (Inherited from Chain.)
Public propertyCountGets the number of events in the chain. (Inherited from Chain.)
Public propertyFirstTokenGets an EventToken for the first event in the chain. (Overrides Chain.FirstToken.)
Public propertyFirstValidTokenGets an EventToken for the first valid event in the chain. (Overrides Chain.FirstValidToken.)
Public propertyIsEmptyGets a value that indicates whether the chain is empty. (Overrides Chain.IsEmpty.)
Public propertyLastTokenGets an EventToken for the last event in the chain. (Inherited from Chain.)
Top

  NameDescription
Public methodAppendEventAppends an IntelliTraceEvent to a stream. (Overrides RootChain.AppendEvent(IntelliTraceEvent).)
Protected methodConvertToBytesWhen overridden in a derived class, converts an IntelliTraceEvent to a raw event.
Protected methodConvertToEvent
Public methodDispose() (Inherited from Chain.)
Protected methodDispose(Boolean)Releases the resources that are used by this chain. (Overrides Chain.Dispose(Boolean).)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected methodGetEnumerator<TEvent>() (Inherited from Chain.)
Public methodGetEventGets an IntelliTraceEvent for the specified EventToken. (Overrides Chain.GetEvent(EventToken).)
Public methodGetEventsGets multiple IntelliTraceEvents from a start EventToken up to but excluding an end EventToken. (Overrides Chain.GetEvents(EventToken, EventToken).)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetNextTokenGets the EventToken for the next event after the given EventToken. (Overrides Chain.GetNextToken(EventToken).)
Public methodGetPreviousTokenGets the EventToken for the previous event before the given EventToken. (Inherited from Chain.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsValidEventTypeWhen overridden in a derived class, determines whether the given IntelliTraceEvent is valid for this chain. (Inherited from Chain.)
Public methodIsValidTokenDetermines whether the given EventToken is valid for this chain. (Overrides Chain.IsValidToken(EventToken).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodReadEventBytesWhen overridden in a derived class, reads a single raw event from the stream.
Protected methodReadEventLengthWhen overridden in a derived class, gets the length of the next event in the stream.
Public methodTokens (Inherited from Chain.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

StreamChain provides on-demand access and instantiation of events in the stream when GetEvent or GetEvents is called. IntelliTraceEvents are not stored by the StreamChain.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft