Export (0) Print
Expand All
Expand Minimize

PersistableIdleAction Enumeration

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
NoneSpecifies that no action is taken.
PersistSpecifies that the WorkflowApplication should persist the workflow.
UnloadSpecifies 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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

© 2014 Microsoft