Delay Activity Designer

The Delay activity designer is used to create and configure a Delay activity.

The Delay Activity

The Delay activity delays the execution of a workflow for a specified amount of time.

Using the Delay Activity Designer

The Delay activity designer can be found in the Primitives category of the Toolbox, which is accessed by clicking the Toolbox tab of the Workflow Designer (Alternatively, select Toolbar from the View menu, or CTRL+ALT+X.)

The Delay activity designer can be dragged from the Toolbox and dropped on to the Workflow Designer surface wherever activities are usually placed, such as inside a Sequence. This creates a Delay activity with a default DisplayName of Delay. The DisplayName can be edited in the header of the Delay activity designer or in the DisplayName box of the property grid.

The Delay Properties

The following table shows the Delay properties and describes how they are used in the designer. These properties can be edited in property grid and of them some can be edited on Workflow Designerdesigner surface.

Property Name Required Usage

DisplayName

False

The friendly name of the Delay activity. The default is Delay. Although the DisplayName value is not strictly required, it is a best practice to use one.

Duration

True

The amount of time to delay the workflow. This property is set in the property grid. Type in either a literal TimeSpan in the format 00:00:00 or a Visual Basic expression to specify the amount of time.

See Also

Concepts

Assign Activity Designer
Delay Activity Designer
InvokeMethod Activity Designer
WriteLine Activity Designer

Other Resources

Primitives Activity Designers