WorkflowIdleBehavior.TimeToUnload Property
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.
Gets or sets a value that specifies the TimeSpan that occurs between the time workflow becomes idle and is unloaded.
public:
property TimeSpan TimeToUnload { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan TimeToUnload { get; set; }
member this.TimeToUnload : TimeSpan with get, set
Public Property TimeToUnload As TimeSpan
Property Value
The time span used to determine when a workflow is unloaded.
Remarks
The default value is 1 minute. Unloading a workflow implies that it is also persisted. If TimeToUnload is set to zero the workflow instance is persisted and unloaded immediately after the workflow becomes idle. Setting TimeToUnload to MaxValue effectively disables the unload operation. Idle workflow instances are never unloaded.