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.
Assembly: System.Activities.DurableInstancing (in System.Activities.DurableInstancing.dll)
Specifies that data and metadata for a workflow instance must be deleted from the persistence store after the workflow instance completes.
Specifies that data and metadata for a workflow instance must be kept in the persistence database even after the workflow instance completes.
.NET Framework 4 ships with a SQL persistence provider as a constituent of the SQL Workflow Instance Store, which is a concrete implementation of the T:System.Runtime.Persistence.InstanceStore class and is used to persist state information in to the SQL Server database. When the InstanceComplectionAction attribute is set to DeleteNothing for the SqlWorkflowInstanceStore service behavior associated with a service, the SQL persistence provider keeps the instance state information for the instance in the SQL Server persistence database even after the instance completes, and when the InstanceComplectionAction attribute is set to DeleteAll (which is the default value), the persistence provider deletes all the instance state information when the instance completes.
Available since 4.0