PersistableIdleAction Enumeration

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the action that occurs when a workflow becomes idle when persistence is allowed.

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

public enum PersistableIdleAction

Member nameDescription
None

Specifies that no action is taken.

Persist

Specifies that the WorkflowApplication should persist the workflow.

Unload

Specifies that the WorkflowApplication should persist and unload the workflow.

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.

.NET Framework
Available since 4.0
Return to top
Show: