Receiving Workflow Data Within the Host Application

Let’s now turn to our main application. The basic workflow housekeeping we’ve seen so far in the book has already been added to the sample simply because we’ve seen it before and the chapter would expand tenfold if we created the application from scratch. I’d rather concentrate on the workflow aspects we’re examining in this chapter. So the workflow factory creates an instance of the workflow runtime, and we even kick off a workflow instance when the Retrieve MV Data button is clicked. What we’ll do now is modify the application to use the bridging classes we created in the "Creating External Data Services" section in this chapter.

Note

Feel free to look the application code over, however. Although ...

Get Microsoft® Windows® Workflow Foundation Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.