Export (0) Print
Expand All

WorkflowApplication.Unload Method

Persists and unloads a workflow instance.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Unload() Persists and unloads a workflow instance.
Public method Unload(TimeSpan) Persists and unloads a workflow instance using the specified time-out interval.
Top

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.

Show:
© 2014 Microsoft