Chain Class

 

Represents a chain of events that are recorded from a running application.

Namespace:   Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.IntelliTrace.12.0.0 (in Microsoft.IntelliTrace.12.0.0.dll)


public abstract class Chain : IDisposable, IEnumerable<IntelliTraceEvent>, 
	IEnumerable

NameDescription
System_CAPS_protmethodChain()

Constructor for Chain.

NameDescription
System_CAPS_pubpropertyAfterLastToken

When overridden in a derived class, gets an EventToken for the position that is immediately after the current LastToken.

System_CAPS_pubpropertyBeforeFirstToken

Gets an EventToken for the position that is immediately before FirstToken.

System_CAPS_pubpropertyCanGetCount

Gets a value that determines whether the chain supports Count.

System_CAPS_pubpropertyCanGetLastToken

Gets a value that determines whether the chain supports LastToken.

System_CAPS_pubpropertyCanGetPreviousToken

Gets a value that determines whether the chain supports GetPreviousToken.

System_CAPS_pubpropertyCount

Gets the number of events in the chain.

System_CAPS_pubpropertyFirstToken

When overridden in a derived class, gets an EventToken for the first event in the chain.

System_CAPS_pubpropertyFirstValidToken

When overridden in a derived class, gets an EventToken for the first valid event in the chain.

System_CAPS_pubpropertyIsEmpty

When overridden in a derived class, gets a value that indicates whether the chain is empty.

System_CAPS_pubpropertyLastToken

Gets an EventToken for the last event in the chain.

NameDescription
System_CAPS_pubmethodDispose()

System_CAPS_protmethodDispose(Boolean)

Releases the resources that are used by this chain.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

System_CAPS_protmethodGetEnumerator<TEvent>()

System_CAPS_pubmethodGetEvent(EventToken)

When overridden in a derived class, gets an IntelliTraceEvent for the specified EventToken.

System_CAPS_pubmethodGetEvents(EventToken, EventToken)

When overridden in a derived class, gets multiple IntelliTraceEvents from a start EventToken up to but excluding an end EventToken.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetNextToken(EventToken)

When overridden in a derived class, gets the EventToken for the next event after the given EventToken.

System_CAPS_pubmethodGetPreviousToken(EventToken)

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

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsValidEventType(IntelliTraceEvent)

When overridden in a derived class, determines whether the given IntelliTraceEvent is valid for this chain.

System_CAPS_pubmethodIsValidToken(EventToken)

When overridden in a derived class, determines whether the given EventToken is valid for this chain.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodTokens()

System_CAPS_pubmethodToString()

(Inherited from Object.)

Chains can be accessed in random order and traversed forward or backward. Because a chain can be examined when the application is still running, the chain can grow (or decrease) between inspections. Enumerating through events in a chain is usually performed by calling FirstValidToken to get the first EventToken in the chain and then calling GetNextToken to move forward (or GetPreviousToken to move backward).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: