WorkflowApplication.Persist Method

.NET Framework (current version)
 

Persists a workflow instance to an instance store.

Namespace:   System.Activities
Assembly:  System.Activities (in System.Activities.dll)

NameDescription
System_CAPS_pubmethodPersist()

Persists a workflow instance to an instance store.

System_CAPS_pubmethodPersist(TimeSpan)

Persists a workflow instance to an instance store using the specified time-out interval.

If the workflow instance was previously loaded from persistence, then the same InstanceStore used to load the workflow is used for persistence. If the workflow was created and has not yet been persisted, then an InstanceStore must be configured before calling this method or else an InvalidOperationException is thrown when this method is called.

Return to top
Show: