Robert Eisenberg Sams Teach Yourself Windows ® Workflow Foundation 24 Hours in 800 East 96th Street, Indianapolis, Indiana 46240 USA Sams Teach Yourself Windows® Workflow Foundation in 24 Hours Copyright © 2009 by Pearson Education, Inc. All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Nor is any liability assumed for damages resulting from the use of the information contained herein. ISBN-13: 978-0-321-48699-8 ISBN-10: 0-321-48699-4 Library of Congress Cataloging-in-Publication Data: Eisenberg, Rob. Sams teach yourself Windows workflow foundation in 24 hours / Robert Eisenberg. -- 1st ed. p. cm. ISBN 978-0-321-48699-8 1. Windows workflow foundation. 2. Application software--Development. 3. Microsoft .NET. I. Title. QA76.76.A65E38 2008 006.7'882—dc22 2008049304 Printed in the United States of America First Printing December 2008 Trademarks All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Sams Publishing cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark. Warning and Disclaimer Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an “as is” basis. The authors and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book. Bulk Sales Sams Publishing offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales. For more information, please contact U.S. Corporate and Government Sales 1-800-382-3419
[email protected] For sales outside of the U.S., please contact International Sales
[email protected] Editor-in-Chief Karen Gettman Executive Editor Neil Rowe Development Editor Mark Renfrow Managing Editor Kristy Hart Project Editor Betsy Harris Copy Editor Barbara Hacha Indexer Lisa Stumpf Proofreader Williams Woods Publishing Technical Editors David Franson Richard Olson Publishing Coordinator Cindy Teeters Book Designer Gary Adair Senior Compositor Jake McFarland Contents at a Glance Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Part I The Basics 7 HOUR 1 Understanding Windows Workflow Foundation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 HOUR 2 A Spin Around Windows Workflow Foundation HOUR 3 Learning Basic Hosting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 HOUR 4 Learning Host-Workflow Data Exchange HOUR 5 Creating an Escalation Workflow. . . . . . . . .