Gets and sets the duration of the delay in the workflow.
Assembly: System.Workflow.Activities (in System.Workflow.Activities.dll)
The following code example demonstrates how to set the value of the property to 3 seconds. This code assumes that delay2 is of type DelayActivity. This code example is part of the SimpleStateMachineWorkflow SDK Sample from the StateMachineWorkflow.cs file. For more information, see Simple State Machine.