SqlWorkflowPersistenceService.LoadWorkflowInstanceState(Guid) Method

Definition

Retrieves the specified workflow instance state from the database.

C#
protected internal override System.Workflow.ComponentModel.Activity LoadWorkflowInstanceState(Guid id);

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

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1