DiagnosticChain Class
Provides a chain of DiagnosticEvents that were recorded from a running application.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.IntelliTrace.Chain
Microsoft.VisualStudio.IntelliTrace.DerivedChain
Microsoft.VisualStudio.IntelliTrace.PartitionedListChain
Microsoft.VisualStudio.IntelliTrace.DiagnosticChain
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.IntelliTrace.11.0.0 (in Microsoft.IntelliTrace.11.0.0.dll)
Syntax
'Declaration
Public NotInheritable Class DiagnosticChain _
Inherits PartitionedListChain
public sealed class DiagnosticChain : PartitionedListChain
public ref class DiagnosticChain sealed : public PartitionedListChain
[<Sealed>]
type DiagnosticChain =
class
inherit PartitionedListChain
end
public final class DiagnosticChain extends PartitionedListChain
The DiagnosticChain type exposes the following members.
Properties
Name | Description | |
---|---|---|
AfterLastToken | Gets an EventToken for the position that is immediately after the current LastToken. (Inherited from PartitionedListChain.) | |
BeforeFirstToken | Gets an EventToken for the position that is immediately before FirstToken. This token will never become valid. (Inherited from PartitionedListChain.) | |
CanGetCount | Gets a value that determines whether the chain supports Count. (Inherited from PartitionedListChain.) | |
CanGetLastToken | Gets a value that determines whether the chain supports LastToken. (Inherited from PartitionedListChain.) | |
CanGetPreviousToken | Gets a value that determines whether the chain supports GetPreviousToken. (Inherited from Chain.) | |
Count | Gets the number of events in the chain. This property can be called only when CanGetCount returns true. (Inherited from PartitionedListChain.) | |
FirstToken | Gets an EventToken for the first event in the chain. (Inherited from PartitionedListChain.) | |
FirstValidToken | (Overrides PartitionedListChain.FirstValidToken.) | |
IsEmpty | Gets a value that indicates whether the chain is empty. (Inherited from PartitionedListChain.) | |
LastToken | Gets an EventToken for the last event in the chain. (Inherited from PartitionedListChain.) | |
PartitionedChain | Gets the StreamChain that is the source of the events for this chain. (Inherited from PartitionedListChain.) | |
PartitioningChain | Gets the DerivedChain that contains each of the partitioning events that are used to divide the larger chain into partitions. (Inherited from PartitionedListChain.) | |
PartitionLoadLimitEnabled | Gets a value that indicates whether there is a limit to the number of partitions that the PartitionedListChain will load at the same time (before unloading the least recently used partitions). (Inherited from PartitionedListChain.) |
Top
Methods
Name | Description | |
---|---|---|
Dispose() | (Inherited from Chain.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetEnumerator() | (Inherited from Chain.) | |
GetEvent | Gets an IntelliTraceEvent for the specified EventToken. (Inherited from PartitionedListChain.) | |
GetEvents | Gets multiple IntelliTraceEvents from a start EventToken up to but excluding an end EventToken. (Inherited from PartitionedListChain.) | |
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 PartitionedListChain.) | |
GetPreviousToken | Gets the token for the previous event before the given token. (Inherited from PartitionedListChain.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsValidEventType | Determines whether the given IntelliTraceEvent is valid for this chain. (Inherited from PartitionedListChain.) | |
IsValidToken | (Overrides PartitionedListChain.IsValidToken(EventToken).) | |
Refresh | (Overrides PartitionedListChain.Refresh().) | |
Tokens | (Inherited from 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
DiagnosticChain is a PartitionedListChain that loads events in partitions for better memory management.
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.