Muokkaa

Jaa


SqlWorkflowPersistenceService.EnableRetries Property

Definition

Gets or sets a value that specifies whether the SqlWorkflowPersistenceService retries committing a work batch.

public:
 property bool EnableRetries { bool get(); void set(bool value); };
public bool EnableRetries { get; set; }
member this.EnableRetries : bool with get, set
Public Property EnableRetries As Boolean

Property Value

true if the service should retry committing the work batch; otherwise, false. The default is false.

Remarks

The following work items cannot be batched and any transaction retries must be handled through the EnableRetries property:

  • Polling for expired database timers.

  • Loading workflow instance states.

  • Reloading workflow instances when the workflow run-time engine starts.

  • Calling GetAllWorkflows.

Besides being set programmatically, this functionality can be enabled through a configuration file. For more information about how to set this property through a configuration file, see Workflow Configuration Files.

For general information about retrying work batch transactions, see Batching State Information in Workflows.

Applies to