WorkflowInstance.GetWorkflowDefinition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the root activity for this workflow instance.
public:
System::Workflow::ComponentModel::Activity ^ GetWorkflowDefinition();
public System.Workflow.ComponentModel.Activity GetWorkflowDefinition();
member this.GetWorkflowDefinition : unit -> System.Workflow.ComponentModel.Activity
Public Function GetWorkflowDefinition () As Activity
Returns
An Activity object.
Remarks
You can use the root activity to navigate the activity hierarchy of the workflow.
This method is not thread safe, so the host should synchronize its calls to this method.