WorkflowApplication.Unload Method

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Persists and unloads a workflow instance.

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


Persists and unloads a workflow instance.


Persists and unloads a workflow instance using the specified time-out interval.

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.

Return to top