Thread.GetSequenceContext
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
Thread.GetSequenceContext
Syntax
Thread.GetSequenceContext( callStackIndex, frameId)
Return Value
Purpose
Returns a reference to the SequenceContext object that corresponds to the call stack index you specify.
Parameters
callStackIndex As Long
[In] Specifies a zero-based index into the call stack. You obtain the number of items on the call stack from the Thread.CallStackSize property. Call stack index 0 specifies the sequence context for the most recently executing step group.
frameId As Long
[Out] Returns a unique ID for the sequence context that this method returns. Use this ID with subsequent calls to GetSequenceContext to determine whether the execution is in the same sequence. This can help you minimize the number of items that you must update in the execution display in a user interface.