Επεξεργασία

Κοινή χρήση μέσω


StateMachineWorkflowInstance.StateMachineWorkflow Property

Definition

Gets the latest definition of the StateMachineWorkflowActivity.

public:
 property System::Workflow::Activities::StateMachineWorkflowActivity ^ StateMachineWorkflow { System::Workflow::Activities::StateMachineWorkflowActivity ^ get(); };
public System.Workflow.Activities.StateMachineWorkflowActivity StateMachineWorkflow { get; }
member this.StateMachineWorkflow : System.Workflow.Activities.StateMachineWorkflowActivity
Public ReadOnly Property StateMachineWorkflow As StateMachineWorkflowActivity

Property Value

The latest definition of the StateMachineWorkflowActivity.

Exceptions

If the workflow has already completed, the current StateMachineWorkflowActivity cannot be retrieved, so the previous definition is retrieved.

Remarks

This property only returns a copy of the workflow definition and never the live instance tree. Therefore, the activity tree that is returned by this property cannot be used to query for run-time values.

Applies to