The samples in this section demonstrate activities that are associated with hosting the Windows Workflow Foundation runtime engine.
In This Section
Demonstrates how to exit a workflow that is waiting for an external event that will never transpire.
Demonstrates how to persist running workflows to disk when an application shuts down, and how to reload unloaded workflows when events need to be delivered to them.
Demonstrates how the engine unloads a workflow by saving the workflow instance state through a custom persistence service when the workflow waits during a DelayActivity activity.
Demonstrates how to use the out-of-box SqlWorkflowPersistenceService service, and how workflow instances are loaded and unloaded to and from memory by the application and the workflow runtime.
Demonstrates a document-approval scenario where the workflow is unloaded from memory when it is idle and loaded back into memory upon event arrival.
Shows the differences between running a workflow using the Manual Threading model or the default CLR (common language runtime) threading model. It also demonstrates the threading impact of using the DelayActivity activity in a workflow.
© 2007 Microsoft Corporation. All rights reserved.