ListChain Class
Provides a list of events that was recorded from a running application.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.IntelliTrace.Chain
Microsoft.VisualStudio.IntelliTrace.DerivedChain
Microsoft.VisualStudio.IntelliTrace.ListChain
Microsoft.VisualStudio.IntelliTrace.DiagnosticCheckpointChain
Microsoft.VisualStudio.IntelliTrace.IntelliTraceTokenChain
Microsoft.VisualStudio.IntelliTrace.ProcessChain
Microsoft.VisualStudio.IntelliTrace.TestChain
Microsoft.VisualStudio.IntelliTrace.ThreadCheckpointChain
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.IntelliTrace.12.0.0 (in Microsoft.IntelliTrace.12.0.0.dll)
Syntax
'Declaration
Public MustInherit Class ListChain _
Inherits DerivedChain
public abstract class ListChain : DerivedChain
public ref class ListChain abstract : public DerivedChain
[<AbstractClass>]
type ListChain =
class
inherit DerivedChain
end
public abstract class ListChain extends DerivedChain
The ListChain type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ListChain | Initializes a new instance of the ListChain class. |
Top
Properties
Name | Description | |
---|---|---|
AfterLastToken | Gets an EventToken that represents a position that is immediately after the current LastToken. (Overrides Chain.AfterLastToken.) | |
BeforeFirstToken | Gets an EventToken for the position that is immediately before FirstToken. (Inherited from Chain.) | |
CanGetCount | Gets a value that determines whether the chain supports Count. (Overrides Chain.CanGetCount.) | |
CanGetLastToken | Gets a value that determines whether the chain supports LastToken. (Overrides Chain.CanGetLastToken.) | |
CanGetPreviousToken | Gets a value that determines whether the chain supports GetPreviousToken. (Overrides Chain.CanGetPreviousToken.) | |
Count | Gets the number of events in the chain. (Overrides Chain.Count.) | |
EventList | Gets the internal list for this ListChain. | |
FirstToken | Gets an EventToken for the first event in the chain. (Overrides Chain.FirstToken.) | |
FirstValidToken | Gets an EventToken for the first valid event in the chain. (Overrides Chain.FirstValidToken.) | |
IsEmpty | Gets a value that indicates whether the chain is empty. (Overrides Chain.IsEmpty.) | |
LastToken | Gets an EventToken for the last event in the chain. (Overrides Chain.LastToken.) |
Top
Methods
Name | Description | |
---|---|---|
Dispose() | (Inherited from Chain.) | |
Dispose(Boolean) | Releases the resources that are used by this chain. (Overrides Chain.Dispose(Boolean).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator<TEvent>() | (Inherited from Chain.) | |
GetEvent | Gets an IntelliTraceEvent for the specified EventToken. (Overrides Chain.GetEvent(EventToken).) | |
GetEvents | Gets multiple IntelliTraceEvents from a start EventToken up to but excluding an end EventToken. (Overrides Chain.GetEvents(EventToken, EventToken).) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetNextToken | Gets the EventToken for the next event after the given EventToken. (Overrides Chain.GetNextToken(EventToken).) | |
GetPreviousToken | Gets the EventToken for the previous event before the given EventToken. (Overrides Chain.GetPreviousToken(EventToken).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsValidEventType | Determines whether the given IntelliTraceEvent is valid for this chain. (Overrides Chain.IsValidEventType(IntelliTraceEvent).) | |
IsValidToken | Determines whether the given EventToken is valid for this chain. (Overrides Chain.IsValidToken(EventToken).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Refresh | Refreshes the event list from the chain sources and loads each event from the chain into memory. (Overrides DerivedChain.Refresh().) | |
ReloadEvent | ||
Tokens | (Inherited from Chain.) | |
ToSourceToken | Converts an EventToken for this chain to an EventToken for the source Chain. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | (Inherited from Chain.) |
Top
Remarks
When Refresh is called, ListChain loads all chain data into memory and stores each instantiated IntelliTraceEvent.
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.