Beginning WF - Windows Workflow in .NET 4.0.pdf

(4451 KB) Pobierz
Beginning WF: Windows Workflow in .NET 4.0 (Expert's Voice in .Net)
670070401.001.png
Beginning WF
Windows Workflow in .NET 4.0
Mark J. Collins
670070401.002.png
Beginning WF: Windows Workflow in .NET 4.0
Copyright © 2010 by Mark J. Collins
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN-13 (pbk): 978-1-4302-2485-3
ISBN-13 (electronic): 978-1-4302-2486-0
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every
occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of
the trademark owner, with no intention of infringement of the trademark.
President and Publisher: Paul Manning
Lead Editor: Jonathan Hassell
Technical Reviewer: Michael Mayberry
Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell,
Jonathan Gennick, Jonathan Hassell, Michelle Lowman, Matthew Moodie, Duncan Parkes,
Jeffrey Pepper, Frank Pohlmann, Douglas Pundick, Ben Renow-Clarke, Dominic Shakeshaft,
Matt Wade, Tom Welsh
Project Manager: Debra Kelly
Copy Editor: Nancy Sixsmith
Compositor: Laureltech
Indexer: BIM Indexing & Proofreading Services
Artist: April Milne
Cover Designer: Anna Ishchenko
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,
New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders-ny@springer-sbm.com , or
visit www.springeronline.com .
For information on translations, please e-mail rights@apress.com , or visit www.apress.com .
Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use.
eBook versions and licenses are also available for most titles. For more information, reference our
Special Bulk Sales–eBook Licensing web page at www.apress.com/info/bulksales .
The information in this book is distributed on an “as is” basis, without warranty. Although every
precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall have
any liability to any person or entity with respect to any loss or damage caused or alleged to be caused
directly or indirectly by the information contained in this work.
The source code for this book is available to readers at www.apress.com .
Dedicated to my wife, Donna. Your worth is far above rubies (Prov 31:10). I love you!
Contents at a Glance
Contents.................................................................................................................... vii
About the Author...................................................................................................... xix
About the Technical Reviewer .................................................................................. xx
Acknowledgments ................................................................................................... xxi
Introduction ............................................................................................................ xxii
Part 1: Introduction ................................................................................................1
Chapter 1: Building a Simple Workflow ..................................................................3
Chapter 2: Coded Workflows ................................................................................23
Chapter 3: Flowchart Workflow ............................................................................33
Part 2: Designing Workflows ................................................................................43
Chapter 4: Passing Arguments .............................................................................45
Chapter 5: Replicated Activities ...........................................................................59
Chapter 6: Exception Handling .............................................................................69
Chapter 7: Extending the Built-In Activities .........................................................79
Part 3: Communication .........................................................................................93
Chapter 8: Send and Receive ................................................................................95
Chapter 9: Communicating with the Host Application........................................123
Chapter 10: Web Services...................................................................................151
v
670070401.003.png
Zgłoś jeśli naruszono regulamin