แก้ไข

แชร์ผ่าน


System.Activities.DurableInstancing Namespace

Provides classes related to durable instancing.

Classes

ActivatableWorkflowsQueryResult

Contains the results from executing the QueryActivatableWorkflowsCommand against an instance store.

CreateWorkflowOwnerCommand

Use this persistence command to register a workflow service host as a lock owner in the persistence database.

CreateWorkflowOwnerWithIdentityCommand

Specifies creation of a workflow owner with identity command.

DeleteWorkflowOwnerCommand

Deletes lock owner information from the persistence database.

HasActivatableWorkflowEvent

Represents an event that an instance store raises to notify generic hosts about the existence of activatable instances in the persistence database.

HasRunnableWorkflowEvent

Represents an event that the SQL Workflow Instance Store raises to notify workflow hosts about the existence of runnable instances in the persistence database.

LoadWorkflowByInstanceKeyCommand

A persistence command that loads a workflow instance by using the instance key associated with the instance.

LoadWorkflowCommand

A persistence command that loads a workflow instance based on state information of the instance in the persistence store.

QueryActivatableWorkflowsCommand

Represents the command that a generic host executes against an instance store to retrieve activation parameters. The generic host uses these activation parameters to create a workflow host, which in turn loads a runnable service instance.

SaveWorkflowCommand

A persistence command that lets you save instance state information into the persistence store.

SqlWorkflowInstanceStore

Derives from the abstract InstanceStore class of the persistence functionality and provides implementation to allow saving instance state information to and loading instance state information from an SQL Server 2005 or SQL Server 2008 database.

TryLoadRunnableWorkflowCommand

Represents the command that a workflow host executes against an instance store to load runnable instances in the persistence store into the memory.

Enums

InstanceCompletionAction

Contains options that specify whether the persistence provider should keep or delete the state information for an instance in the persistence store after the instance completes.

InstanceEncodingOption

Contains options that specify whether the persistence provider should encode the instance state information using the GZip algorithm before saving the state information into the persistence store.

InstanceLockedExceptionAction

Contains options that specify what action the SQL persistence provider should take when it receives an exception when trying to lock an instance.