Gets the thread instance for the thread which contains this activity
ActivityInstance Class | Ant.Workflow Namespace