Redigera

Dela via


SqlWorkflowPersistenceService.LoadWorkflowInstanceState(Guid) Method

Definition

Retrieves the specified workflow instance state from the database.

protected public:
 override System::Workflow::ComponentModel::Activity ^ LoadWorkflowInstanceState(Guid id);
protected internal override System.Workflow.ComponentModel.Activity LoadWorkflowInstanceState (Guid id);
override this.LoadWorkflowInstanceState : Guid -> System.Workflow.ComponentModel.Activity
Protected Friend Overrides Function LoadWorkflowInstanceState (id As Guid) As Activity

Parameters

id
Guid

The Guid of the workflow instance state.

Returns

An Activity that represents the root activity of the workflow instance.

Exceptions

A workflow instance state that matches id could not be found in the database.

Remarks

LoadWorkflowInstanceState should only be called by the workflow run-time engine.

Applies to