IntelliTraceTokenStreamChain Class

Provides a chain of IntelliTrace token events recorded from a running application.IntelliTraceTokenStreamChain is a StreamChain and only loads data into memory when GetEvent or GetEvents is called.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.IntelliTrace.Chain
    Microsoft.VisualStudio.IntelliTrace.RootChain
      Microsoft.VisualStudio.IntelliTrace.StreamChain
        Microsoft.VisualStudio.IntelliTrace.FilteredStreamChain
          Microsoft.VisualStudio.IntelliTrace.IntelliTraceTokenStreamChain

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

Syntax

'Declaration
Public NotInheritable Class IntelliTraceTokenStreamChain _
    Inherits FilteredStreamChain
public sealed class IntelliTraceTokenStreamChain : FilteredStreamChain
public ref class IntelliTraceTokenStreamChain sealed : public FilteredStreamChain
[<Sealed>]
type IntelliTraceTokenStreamChain =  
    class 
        inherit FilteredStreamChain 
    end
public final class IntelliTraceTokenStreamChain extends FilteredStreamChain

The IntelliTraceTokenStreamChain type exposes the following members.

Properties

  Name Description
Public property Access Gets the type of access that is permitted to the chain. (Inherited from RootChain.)
Public property AfterLastToken Gets an EventToken for the position that is immediately after the current LastToken. (Inherited from StreamChain.)
Public property BeforeFirstToken Gets an EventToken for the position that is immediately before FirstToken. (Inherited from Chain.)
Public property CanGetCount Gets a value that determines whether the chain supports Count. (Inherited from Chain.)
Public property CanGetLastToken Gets a value that determines whether the chain supports LastToken. (Inherited from Chain.)
Public property CanGetPreviousToken Gets a value that determines whether the chain supports GetPreviousToken. (Inherited from Chain.)
Public property Count Gets the number of events in the chain. (Inherited from Chain.)
Public property FirstToken Gets an EventToken for the first event in the chain. (Inherited from FilteredStreamChain.)
Public property FirstValidToken Gets an EventToken for the first valid event in the chain. (Inherited from FilteredStreamChain.)
Public property IsEmpty Gets a value that indicates whether the chain is empty. (Inherited from StreamChain.)
Public property LastToken Gets an EventToken for the last event in the chain. (Inherited from Chain.)

Top

Methods

  Name Description
Public method AppendEvent Appends an IntelliTraceEvent to a stream. (Inherited from StreamChain.)
Public method Dispose() (Inherited from Chain.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetEnumerator() (Inherited from Chain.)
Public method GetEvent (Inherited from FilteredStreamChain.)
Public method GetEvents Gets multiple IntelliTraceEvents from a start EventToken up to but excluding an end EventToken. (Inherited from FilteredStreamChain.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetNextToken Gets the EventToken for the next event after the given EventToken. (Inherited from FilteredStreamChain.)
Public method GetPreviousToken Gets the EventToken for the previous event before the given EventToken. (Inherited from Chain.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsValidEventType Determines whether the given IntelliTraceEvent is valid for this chain. (Overrides Chain.IsValidEventType(IntelliTraceEvent).)
Public method IsValidToken Determines whether the given EventToken is valid for this chain. (Inherited from StreamChain.)
Public method Tokens (Inherited from Chain.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from Chain.)

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.IntelliTrace Namespace