StateMachineWorkflowInstance.StateMachineWorkflow Property
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.
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
.NET