System.Activities.DurableInstancing
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.
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.
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.
Specifies that instance data is compressed using the GZip algorithm.
Specifies that instance data is not compressed.
Contains options that specify what action the SQL persistence provider should take when it receives an exception when trying to lock an instance.
Specifies that the persistence provider reattempts to lock an instance with an exponentially increasing delay between successive attempts. The persistence provider passes the to the caller at the end of the sequence (after retrying predefined number of times).
Specifies that the persistence provider reattempts to lock the instance with a linear retry interval. The persistence provider passes the to the caller at the end of the sequence (after retrying predefined number of times).
Specifies that the persistence provider does not reattempt to lock an instance if the instance is already locked by another host.
Derives from the abstract 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.
Initializes a new instance of the class.
Initializes a new instance of the class by using the parameter.
The connection string to a persistence database.
Gets or sets a connection string with parameters that are used to connect to an underlying persistence database.
The connection string.
Gets or sets a value that indicates whether Run commands are enqueued. This property is used internally by the SQL Workflow Instance Store and it should not be used in your applications.
if the Run commands are enqueued; otherwise, .
Specifies the time period within which the host renews its lock on a workflow service instance.
The time period.
Specifies the action to be taken after a workflow instance completes. Possible values are "DeleteNothing" and "DeleteAll". The default value is "DeleteAll". If the property is set to "DeleteNothing", the persistence provider keeps all the instance data and metadata in the persistence database after the workflow instance completes. If the property is set to "DeleteAll", the persistence provider deletes all the instance data and metadata after the workflow instance completes.
The action to be taken after a workflow completes.
Specifies a value that indicates whether the instance data must be compressed.
The possible values are "None" and "GZip". The default is "None".
Specifies the action to be taken when the persistence provider catches an .
The action to be taken when the persistence provider catches an
Gets or sets the maximum number of SQL connection retries. The default value is 4.
An integer representing the maximum number of SQL connection retries.
Associates the specified properties with a workflow instance so that you can query for instances based on specific values for these properties. These properties that can be used in external queries can be of simple types (for example: Int64, String, and so on) or of a serialized binary type (byte[]). Binary properties are typically used to store tracking data.
The name of the promotion itself.
The properties that must be promoted as variants.
The properties that must be promoted as a binary stream.
Specifies the time period after which the SQL Workflow Instance Store runs a detection task to detect any runnable or activatable workflow instances in the persistence database after the previous detection cycle.
Returns .