endpoint.tv Screencast - Using the Listen Activity in WF 3.5

Play endpoint.tv Screencast - Using the Listen Activity in WF 3.5
Sign in to queue


Welcome to the latest video in the weekly WF/WCF Screencast series.

In this short video, CSD MVP Matt Milner from PluralSight guides the viewer through how to use the listen activity in Windows Workflow Foundation (WF) to listen for multiple events.

Matt starts with a basic sequential workflow console project and a couple custom activities. He then builds out a workflow that waits for input from the user (using a read line activity), and also implements a timeout (using a delay activity) that allows the workflow author to place a limit around how long a WF workflow will wait for input.

Along the way, Matt explains the user how the use of IEvent activity interface allows custom activities to subscribe to events that the listen activity can pass along. Also covered is how to catch exceptions that may arise after using the delay activity to 'timeout' the WF workflow.

For additional information on WF, please check out the WF Dev Center on MSDN and the .NET Endpoint team blog. For more information on classes offered by Aaron and the PluralSight folks, check out their catalog of instructor led courses and new online courses that cover a variety of Microsoft technologies, ranging from .NET v3.5 to WSS to BizTalk server.



Download this episode

The Discussion

Add Your 2 Cents