StateMachineWorkflowInstance.StateMachineWorkflow 属性

定义

获取 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

属性值

StateMachineWorkflowActivity 的最新定义。

例外

如果工作流已完成,则无法检索当前的 StateMachineWorkflowActivity,因此检索到上一个定义。

注解

此属性仅返回工作流定义的副本,而始终不会返回实时实例树。 因此,此属性返回的活动树无法用于查询运行时的值。

适用于