編集

次の方法で共有


WorkflowPersistenceService.UnlockWorkflowInstanceState(Activity) Method

Definition

When overridden in a derived class, unlocks the workflow instance state.

protected public:
 abstract void UnlockWorkflowInstanceState(System::Workflow::ComponentModel::Activity ^ rootActivity);
protected internal abstract void UnlockWorkflowInstanceState(System.Workflow.ComponentModel.Activity rootActivity);
abstract member UnlockWorkflowInstanceState : System.Workflow.ComponentModel.Activity -> unit
Protected Friend MustOverride Sub UnlockWorkflowInstanceState (rootActivity As Activity)

Parameters

rootActivity
Activity

The root activity of the workflow instance.

Remarks

This method is abstract, so it does not contain a default implementation on locking and unlocking.

While implementing a custom persistence service, if you want to implement a locking scheme you will need to override this method and provide a locking-unlocking mechanism in the SaveWorkflowInstanceState method based on the value of the unlock parameter.

Applies to