ExceptionIndexStreamChain Class

Definition

Provides a chain of ExceptionIndexEvents recorded from a running application. ExceptionIndexStreamChain is a StreamChain and only loads data into memory when GetEvent(EventToken) or GetEvents(EventToken, EventToken) is called.

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

Properties

Access

Gets the type of access permitted to the chain.

(Inherited from RootChain)
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 StreamChain)
BeforeFirstToken

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

(Inherited from Chain)
CanGetCount

Gets a value that determines if the chain supports Count.

(Inherited from Chain)
CanGetLastToken

Gets a value that determines if the chain supports LastToken.

(Inherited from Chain)
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 Chain)
FirstToken

Gets an EventToken for the first event in the chain.

(Inherited from StreamChain)
FirstValidToken

Gets an EventToken for the first valid event in the chain.

(Inherited from StreamChain)
IsEmpty

Gets a value that indicates if the chain is empty.

(Inherited from StreamChain)
LastToken

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

(Inherited from Chain)

Methods

AppendEvent(IntelliTraceEvent)

Appends an IntelliTraceEvent to a stream.

(Inherited from StreamChain)
ConvertToBytes(IntelliTraceEvent)

When overridden in a derived class, converts an IntelliTraceEvent to a raw event.

(Inherited from StreamChain)
ConvertToEvent(EventToken, Byte[], Int32)

When overridden in a derived class, converts a raw event to an IntelliTraceEvent.

(Inherited from StreamChain)
Dispose()

Releases resources used by this chain.

(Inherited from Chain)
Dispose(Boolean)

Releases the resources used by this chain.

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

Gets an IntelliTraceEvent for the specified EventToken.

(Inherited from StreamChain)
GetEvents(EventToken, EventToken)

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

(Inherited from StreamChain)
GetNextToken(EventToken)

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

(Inherited from StreamChain)
GetPreviousToken(EventToken)

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

(Inherited from Chain)
IsValidEventType(IntelliTraceEvent)

Determines if the given IntelliTraceEvent is valid for this chain.

IsValidToken(EventToken)

Determines if the given EventToken is valid for this chain.

(Inherited from StreamChain)
ReadEventBytes()

When overridden in a derived class, reads a single raw event from the stream.

(Inherited from StreamChain)
ReadEventLength()

When overridden in a derived class, gets the length of the next event in the stream.

(Inherited from StreamChain)
Tokens() (Inherited from Chain)

Explicit Interface Implementations

IEnumerable.GetEnumerator() (Inherited from Chain)

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Applies to