Поделиться через


Exercise 4: Use Runtime Services

The Windows Workflow Foundation runtime engine is designed to be customized by using services. This enables you to control how the runtime engine behaves and interacts with your host application and associated workflows during execution.

In this exercise, you explore two different methods for adding services to the Windows Workflow Foundation runtime engine. In the first task, you add runtime services directly by using code. In the second task, you use an external configuration file to control the services and their associated parameters that are added. Then, you will see how to use some of the built-in Windows Workflow Foundation services. These include the SqlWorkflowPersistenceService and SqlTrackingService services.

In This Section

Task 1: Configure Runtime Services Using Code

Task 2: Configure Runtime Services using App.Config

Task 3: Use the Windows Workflow Persistence Service

Task 4: Use the Windows Workflow Tracking Service

Task 5: Create a Tracking Profile

See Also

Concepts

Creating Custom Persistence Services
Creating Custom Tracking Services
How to: Add and Remove Workflow Services

Other Resources

Using Persistence Services
Custom Persistence Service

Copyright © 2007 by Microsoft Corporation. All rights reserved.
Last Published: 2010-03-04