Muokkaa

Jaa


WorkflowIdleBehavior.TimeToUnload Property

Definition

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.

Applies to