Persists and unloads a workflow instance.
Assembly: System.Activities (in System.Activities.dll)
By default, the unload operation must complete in 30 seconds or a TimeoutException is thrown.
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.