DerivedChain Class

Represents a chain of events that is recorded from a running application that has an in-memory cache of events.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.IntelliTrace.Chain
    Microsoft.VisualStudio.IntelliTrace.DerivedChain
      Microsoft.VisualStudio.IntelliTrace.FilteredListChain
      Microsoft.VisualStudio.IntelliTrace.ListChain
      Microsoft.VisualStudio.IntelliTrace.PartitionedListChain

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

Syntax

'Declaration
Public MustInherit Class DerivedChain _
    Inherits Chain
public abstract class DerivedChain : Chain
public ref class DerivedChain abstract : public Chain
[<AbstractClass>]
type DerivedChain =  
    class 
        inherit Chain 
    end
public abstract class DerivedChain extends Chain

The DerivedChain type exposes the following members.

Constructors

  Name Description
Protected method DerivedChain

Top

Properties

  Name Description
Public property AfterLastToken When overridden in a derived class, gets an EventToken for the position that is immediately after the current LastToken. (Inherited from Chain.)
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 When overridden in a derived class, gets an EventToken for the first event in the chain. (Inherited from Chain.)
Public property FirstValidToken When overridden in a derived class, gets an EventToken for the first valid event in the chain. (Inherited from Chain.)
Public property IsEmpty When overridden in a derived class, gets a value that indicates whether the chain is empty. (Inherited from Chain.)
Public property LastToken Gets an EventToken for the last event in the chain. (Inherited from Chain.)

Top

Methods

  Name Description
Public method Dispose() (Inherited from Chain.)
Protected method Dispose(Boolean) Releases the resources that are used by this chain. (Inherited from Chain.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetEnumerator<TEvent>() (Inherited from Chain.)
Public method GetEvent When overridden in a derived class, gets an IntelliTraceEvent for the specified EventToken. (Inherited from Chain.)
Public method GetEvents When overridden in a derived class, gets multiple IntelliTraceEvents from a start EventToken up to but excluding an end EventToken. (Inherited from Chain.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetNextToken When overridden in a derived class, gets the EventToken for the next event after the given EventToken. (Inherited from Chain.)
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 When overridden in a derived class, determines whether the given IntelliTraceEvent is valid for this chain. (Inherited from Chain.)
Public method IsValidToken When overridden in a derived class, determines whether the given EventToken is valid for this chain. (Inherited from Chain.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Refresh When overridden in a derived class, refreshes the internal event cache from chain sources.
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