The Problem SolverWIndows Workflow Foundation
HomeShow ChangesEditPrintRecent ChangesSubscriptionsLost and FoundFind ReferencesRename



25-10-2006 09:39:1621-10-2006 11:49:5019-10-2006 11:29:51

List all versions

Listen Activity

The ListenActivity is a CompositeActivity, meaning the ListenActivity can contain other activities. The ListenActivity can only contain EventDrivenActivity activities, and must have a minimum of two child activities.

The ListenActivity may contain many branches, and each branch is waiting for a particular event to occur before running. Each branch is event driven and the event that occurs first will run the corresponding branch first. All other branches cancel and stop listening for events.

The ListenActivity cannot be used in state machine workflows.

If you want to lsiten for MSMQ activities you might want to check out the MsmqSendActivity and MsmqReceiveActivity created by TomasRestrepo at

See also: CreatingATimeoutOnAnActivity

Wiki Usage

This wiki site is supposed to be a shared resource. As a shared resource everyone is encouraged to add new content or modify existing content!

Enjoy the WF wiki.

Recent Topics

  • ListenActivity