This documentation is archived and is not being maintained.

InstanceCompletionAction Enumeration

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.

Namespace:  System.Activities.DurableInstancing
Assembly:  System.Activities.DurableInstancing (in System.Activities.DurableInstancing.dll)

public enum InstanceCompletionAction

Member nameDescription
DeleteNothingSpecifies that data and metadata for a workflow instance must be kept in the persistence database even after the workflow instance completes.
DeleteAllSpecifies that data and metadata for a workflow instance must be deleted from the persistence store after the workflow instance completes.

ships with a SQL persistence provider as a constituent of the SQL Workflow Instance Store, which is a concrete implementation of the 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.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: