O'Reilly logo

Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C# by K. Scott Allen

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

Summary

In this chapter we've looked at two techniques for building custom activities in Windows Workflow. Using composition, we can quickly build a reusable piece of workflow logic. Although a custom activity becomes a black box inside, we can expose the details a workflow author would need to configure our component using dependency properties and activity binding.

Derivation was a second approach to building a custom activity. With derivation, we override the Execute method of an activity and take complete control of its execution logic. Derivation allows us to build new forms of control flow and new execution semantics. With all custom activities we can add activity components to perform validation and provide custom designer behavior. We associate ...

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