WorkflowIdleBehavior.TimeToUnload Property

Definition

Gets or sets a value that specifies the TimeSpan that occurs between the time workflow becomes idle and is unloaded.

C#
public TimeSpan TimeToUnload { get; set; }

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.

Applies to

Proizvod Verzije
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1