Gets the segment definition which contains this thread
ThreadDefinition Class | Ant.Workflow Namespace