WatchExpression.GetScopingContext
- Updated2025-07-21
- 1 minute(s) read
WatchExpression.GetScopingContext
Syntax
WatchExpression.GetScopingContext( currentSeqContext)
Return Value
The sequence context associated with the specified scope. Returns NULL if a sequence context is not associated with the scope or if the WatchExpressionUseScopingContext property is False .
Purpose
Returns the scoping context, if any, associated with the watch expression.
Remarks
The scoping context is stored when the WatchExpression.UseScopingContext property is True and a thread enters the specified scope. The context is released if the UseScopingContext property is False or if the specified scope is changed.
Parameters
currentSeqContext As SequenceContext
[In] Specifies a reference to the sequence context from the current execution.
See Also
WatchExpression.ExecutionScope