SqlWorkflowPersistenceService.UnloadOnIdle(Activity) Method

Definition

Returns a value that indicates whether the workflow is unloaded when it is in an idle state.

protected public:
 override bool UnloadOnIdle(System::Workflow::ComponentModel::Activity ^ activity);
protected internal override bool UnloadOnIdle (System.Workflow.ComponentModel.Activity activity);
override this.UnloadOnIdle : System.Workflow.ComponentModel.Activity -> bool
Protected Friend Overrides Function UnloadOnIdle (activity As Activity) As Boolean

Parameters

activity
Activity

An Activity that represents the root activity of the workflow instance.

Returns

true if the workflow is unloaded when it is in an idle state; otherwise, false.

Applies to