FilteredListChain Class
Provides a filtered chain of events that was recorded from a running application.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.IntelliTrace.Chain
Microsoft.VisualStudio.IntelliTrace.DerivedChain
Microsoft.VisualStudio.IntelliTrace.FilteredListChain
Microsoft.VisualStudio.IntelliTrace.DiagnosticCheckpointChain
Microsoft.VisualStudio.IntelliTrace.ThreadCheckpointChain
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)
Syntax
'Declaração
Public MustInherit Class FilteredListChain _
Inherits DerivedChain
public abstract class FilteredListChain : DerivedChain
public ref class FilteredListChain abstract : public DerivedChain
[<AbstractClass>]
type FilteredListChain =
class
inherit DerivedChain
end
public abstract class FilteredListChain extends DerivedChain
The FilteredListChain type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FilteredListChain | Initializes a new instance of the FilteredListChain class. |
Top
Properties
Name | Description | |
---|---|---|
AfterLastToken | Gets an EventToken for the 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.) | |
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.) | |
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 a hash function for a particular type. (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 | When overridden in a derived class, determines whether the given IntelliTraceEvent is valid for this chain. (Inherited from Chain.) | |
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 | Loads all recorded events for this chain and applies the filtering that is specified in IsValidEventType. (Overrides DerivedChain.Refresh().) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
FilteredListChain uses a ListChain and loads all chain data into memory. When deriving from FilteredListChain, implement IsValidEventType to provide the filtering that is desired.
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.