PersistableIdleAction Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the action that occurs when a workflow becomes idle when persistence is allowed.
public enum class PersistableIdleAction
public enum PersistableIdleAction
type PersistableIdleAction =
Public Enum PersistableIdleAction
- Inheritance
Fields
Name | Value | Description |
---|---|---|
None | 0 | Specifies that no action is taken. |
Unload | 1 | Specifies that the WorkflowApplication should persist and unload the workflow. |
Persist | 2 | Specifies that the WorkflowApplication should persist the workflow. |
Remarks
The PersistableIdle function is invoked when the scheduler has no more pending work items and the workflow runtime can persist. Note that the Idle function is invoked when persistence is not allowed, and both Idle and PersistableIdle are invoked in that order when persistence is allowed. None is the default action if no PersistableIdle handler is provided.