TAILIEUCHUNG - microsoft press windows workflow foundation step by step phần 3

Tham khảo tài liệu 'microsoft press windows workflow foundation step by step phần 3', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 70 Part I Introducing Windows Workflow Foundation WF 6. In the Name field type the name of your project or application. 7. In the Location field type the file system location where you would like your project files stored. 8. If the Create Directory For Solution check box is not already selected select it. 9. Click OK. Visual Studio 2005 will now create the basic project for you and bring up the workflow visual designer user interface. As with the sequential workflow application Visual Studio is now ready for us to build a statemachine workflow. We re not quite ready to actually build a state-machine workflow at this point in the book. Why Because we need to trigger the events that cause the workflow to change state. To do that we ll need to understand how workflow instances communicate with their host applications so that our host application can perform the trigger actions. We ll begin looking at host and workflow communication in Chapter 8 Calling External Methods but it s in Chapter 10 Event Activities that we learn what we need to know to drive state-machine workflows. Chapter 4 Introduction to Activities and Workflow Types 71 Chapter 4 Quick Reference To Do This Select the appropriate workflow type Model your system and look closely at what is controlling the process. If the workflow is controlling the process select a sequential workflow model. If external inputs are controlling the workflow select a state-machine workflow. If complex behavior is to be modeled a rules-based approach might be the best. Often a combination of workflow types will be necessary. Build a sequential workflow application Start Visual Studio 2005 and select the New and then Project menu items from the main File menu. From the resulting New Project dialog box select the Workflow node from the Visual C subtree shown in the Project Types pane. From the Templates pane select either the Sequential Workflow Console Application or the Sequential Workflow Library type. Build a state-machine

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.