TestChain Class
Provides a chain of test 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.TestChain
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)
Syntax
‘선언
Public NotInheritable Class TestChain _
Inherits ListChain
public sealed class TestChain : ListChain
public ref class TestChain sealed : public ListChain
[<Sealed>]
type TestChain =
class
inherit ListChain
end
public final class TestChain extends ListChain
The TestChain type exposes the following members.
Properties
Name | Description | |
---|---|---|
AfterLastToken | Gets an EventToken that represents a position that is immediately after the current LastToken. (Inherited from ListChain.) | |
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. (Inherited from ListChain.) | |
CanGetLastToken | Gets a value that determines whether the chain supports LastToken. (Inherited from ListChain.) | |
CanGetPreviousToken | Gets a value that determines whether the chain supports GetPreviousToken. (Inherited from ListChain.) | |
Count | Gets the number of events in the chain. (Inherited from ListChain.) | |
EventList | Gets the internal list for this ListChain. (Inherited from ListChain.) | |
FirstToken | Gets an EventToken for the first event in the chain. (Inherited from ListChain.) | |
FirstValidToken | Gets an EventToken for the first valid event in the chain. (Inherited from ListChain.) | |
IsEmpty | Gets a value that indicates whether the chain is empty. (Inherited from ListChain.) | |
LastToken | Gets an EventToken for the last event in the chain. (Inherited from ListChain.) |
Top
Methods
Name | Description | |
---|---|---|
Dispose() | (Inherited from Chain.) | |
Dispose(Boolean) | Releases the resources that are used by this chain. (Inherited from ListChain.) | |
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. (Inherited from ListChain.) | |
GetEvents | Gets multiple IntelliTraceEvents from a start EventToken up to but excluding an end EventToken. (Inherited from ListChain.) | |
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. (Inherited from ListChain.) | |
GetPreviousToken | Gets the EventToken for the previous event before the given EventToken. (Inherited from ListChain.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsValidEventType | Determines whether the given IntelliTraceEvent is valid for this chain. (Inherited from ListChain.) | |
IsValidToken | Determines whether the given EventToken is valid for this chain. (Inherited from ListChain.) | |
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. (Inherited from ListChain.) | |
ToSourceToken | Converts an EventToken for this chain to an EventToken for the source Chain. (Inherited from ListChain.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
TestChain is a ListChain and loads all chain data into memory.
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.