The Problem SolverWIndows Workflow Foundation
HomeShow ChangesEditPrintRecent ChangesSubscriptionsLost and FoundFind ReferencesRename

Search

History

28-8-2008 09:29:0711-8-2008 21:01:0011-4-2008 15:56:5825-10-2006 09:38:5525-10-2006 09:33:32

List all versions

Delay Activity
.
Summary

When notified that its timer has expired, a DelayActivity completes its execution.

You can set a time out on the DelayActivity so that your workflow pauses before resuming execution. You specify the TimeoutDuration using TimeSpan. This causes your workflow to pause until the specified TimeSpan has elapsed.

The DelayActivity class runs the code method associated with the InitializeTimeoutDuration event before the activity starts and the code-beside method can be used to initialize the TimeoutDuration property.

The DelayActivity is guaranteed to complete no sooner than the indicated TimeoutDuration. The delay can take longer because the timer notification might occur some time after the TimeoutDuration is reached. One reason for a longer delay is if the workflow is running under high system stress in a server environment.

See also: CreatingATimeoutOnAnActivity

thanks for info

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

  • DelayActivity