Using the EventHandlingScope Activity
Looking back at the activities we’ve seen so far, we have a basic activity that handles events, a delay activity that fires events, a composite activity that enables sequential flow, and a parallel flow composite activity. Would you believe there is an event-related activity that combines both sequential and parallel behavior? There is—the EventHandlingScope activity.
EventHandlingScope is a composite activity that is designed to contain an EventHandlers activity (which is, itself, a container for IEventActivity objects) as well as a single other non-event-based composite activity, such as Sequence or Parallel. The non-event-based composite activity continues to execute until all the events contained in the ...
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.