O'Reilly logo

Microsoft® Windows® Workflow Foundation Step by Step by Kenn Scribner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Subscribing to Workflow Runtime Events

It might seem like there isn’t a lot to WorkflowRuntime, at least from a methods and properties perspective. You can start it, you can stop it, and you can ask it to initiate workflow instances. That’s about it.

It’s a bit more interesting than that, however, and you begin to see the complexity of the runtime environment when you look at the events WorkflowRuntime exposes. Table 2-3 doesn’t provide an exhaustive list, but it does indicate the events you’ll use most often.

Table 2-3. WorkflowRuntime Events

Event

Purpose

Started

Raised when the workflow runtime is started.

Stopped

Raised when the workflow runtime is stopped.

WorkflowCompleted

Raised when a workflow instance has completed.

WorkflowIdled

Raised when a workflow ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required