SequenceContext.Main

Syntax

SequenceContext.Main

Data Type

SequenceContext

Purpose

Returns the MainSequence context of the execution with which this sequence context is associated.

Remarks

If you start an execution using a Process Model entry point, the MainSequence context is the sequence context of the MainSequence in the client sequence file. If you start an execution without using an Execution entry point by executing a sequence or steps directly the MainSequence context is the same as the root sequence context stored in the SequenceContext.Root property.

See Also

SequenceContext

SequenceContext.CallStackDepth

SequenceContext.ProcessModelClient

SequenceContext.Root