DiagnosticChain Class

Definition

Provides a chain of DiagnosticEvent recorded from a running application. DiagnosticChain is a PartitionedListChain which loads events in partitions for better memory management.

public ref class DiagnosticChain sealed : Microsoft::VisualStudio::IntelliTrace::PartitionedListChain
public ref class DiagnosticChain sealed : Microsoft::VisualStudio::IntelliTrace::PartitionedListChain
class DiagnosticChain sealed : Microsoft::VisualStudio::IntelliTrace::PartitionedListChain
public sealed class DiagnosticChain : Microsoft.VisualStudio.IntelliTrace.PartitionedListChain
type DiagnosticChain = class
    inherit PartitionedListChain
Public NotInheritable Class DiagnosticChain
Inherits PartitionedListChain
Inheritance

Properties

AfterLastToken

Gets an EventToken for the position immediately after the current LastToken. If additional events get added to the chain, the token returned from AfterLastToken will become valid. This property is available even if CanGetLastToken returns false.

(Inherited from PartitionedListChain)
BeforeFirstToken

Gets an EventToken for the position immediately before FirstToken. This token will never become valid.

(Inherited from PartitionedListChain)
CanGetCount

Gets a value that determines if the chain supports Count.

(Inherited from PartitionedListChain)
CanGetLastToken

Gets a value that determines if the chain supports LastToken.

(Inherited from PartitionedListChain)
CanGetPreviousToken

Gets a value that determines if the chain supports GetPreviousToken(EventToken).

(Inherited from Chain)
Count

Gets the number of events in the chain. This property can only be called if CanGetCount returns true.

(Inherited from PartitionedListChain)
FirstToken

Gets an EventToken for the first event in the chain.

(Inherited from PartitionedListChain)
FirstValidToken
IsEmpty

Gets a value that indicates if the chain is empty.

(Inherited from PartitionedListChain)
LastToken

Gets an EventToken for the last event in the chain. This property can only be called if CanGetLastToken returns true.

(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 or sets a value that indicates whether there is a limit to the number of partitions the PartitionedListChain will load simultaneously (before unloading the least recently used partitions).

(Inherited from PartitionedListChain)

Methods

Dispose()

Releases resources used by this chain.

(Inherited from Chain)
Dispose(Boolean)

Releases the resources used by this chain.

(Inherited from PartitionedListChain)
GetEnumerator() (Inherited from Chain)
GetEnumerator<TEvent>() (Inherited from Chain)
GetEvent(EventToken)

Gets an IntelliTraceEvent for the specified EventToken.

(Inherited from PartitionedListChain)
GetEvents(EventToken, EventToken)

Gets multiple IntelliTraceEvents from a start EventToken up to but not including an end EventToken.

(Inherited from PartitionedListChain)
GetNextToken(EventToken)

Gets the EventToken for the next event after the given EventToken.

(Inherited from PartitionedListChain)
GetPreviousToken(EventToken)

Gets the token for the previous event before the given token.

(Inherited from PartitionedListChain)
IsValidEventType(IntelliTraceEvent)

Determines if the given IntelliTraceEvent is valid for this chain.

(Inherited from PartitionedListChain)
IsValidToken(EventToken)
OnPartitionUpdate(PartitioningEvent, IList<IntelliTraceEvent>) (Inherited from PartitionedListChain)
Refresh()
Tokens() (Inherited from Chain)

Explicit Interface Implementations

IEnumerable.GetEnumerator() (Inherited from Chain)

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Applies to