Partilhar via


Exercise 3: Work with Runtime Events

In this exercise, you learn how to subscribe to events that are raised by the Windows Workflow Foundation runtime engine. Events are used to make communication easier between the runtime engine and your host application.

In Exercise 1: Build a Windows Console Host, an event handler for the WorkflowCompleted event is used to properly shut down your application when the workflow finishes executing. In this exercise, you learn about the other runtime events that might be raised during your workflow life cycle.

In This Section

Task 1: Listen For and Process Events

Task 2: Suspend, Terminate, and Resume Workflows

See Also

Reference

WorkflowCompleted

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