ThreadStreamChain Class

Provides a chain of thread-related points that was recorded from a running application.

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

public sealed class ThreadStreamChain : StreamChain

The ThreadStreamChain 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. (Inherited from StreamChain.)
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. (Inherited from StreamChain.)
Public propertyFirstValidTokenGets an EventToken for the first valid event in the chain. (Inherited from StreamChain.)
Public propertyIntelliTraceThreadIdGets the IntelliTrace thread id that identifies the thread in this IntelliTrace file.
Public propertyIsEmptyGets a value that indicates whether the chain is empty. (Inherited from StreamChain.)
Public propertyLastTokenGets an EventToken for the last event in the chain. (Inherited from Chain.)
Top

  NameDescription
Public methodAppendEventAppends an IntelliTraceEvent to a stream. (Inherited from StreamChain.)
Protected methodConvertToBytesWhen overridden in a derived class, converts an IntelliTraceEvent to a raw event. (Inherited from StreamChain.)
Protected methodConvertToEventWhen overridden in a derived class, converts a raw event to an IntelliTraceEvent. (Inherited from StreamChain.)
Public methodDispose() (Inherited from Chain.)
Protected methodDispose(Boolean)Releases the resources that are used by this chain. (Inherited from StreamChain.)
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.)
Public methodGetEventGets an IntelliTraceEvent for the specified EventToken. (Inherited from StreamChain.)
Public methodGetEventsGets multiple IntelliTraceEvents from a start EventToken up to but excluding an end EventToken. (Inherited from StreamChain.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetNextTokenGets the EventToken for the next event after the given EventToken. (Inherited from StreamChain.)
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 methodIsValidEventTypeDetermines whether the given IntelliTraceEvent is valid for this chain. (Overrides Chain.IsValidEventType(IntelliTraceEvent).)
Public methodIsValidTokenDetermines whether the given EventToken is valid for this chain. (Inherited from StreamChain.)
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. (Inherited from StreamChain.)
Protected methodReadEventLengthWhen overridden in a derived class, gets the length of the next event in the stream. (Inherited from StreamChain.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

ThreadStreamChain is a StreamChain and loads data into memory only when GetEvent or GetEvents is called.

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

Community Additions

ADD
Show: