DelayActivity DelayActivity DelayActivity DelayActivity Constructors

Definition

Overloads

DelayActivity() DelayActivity() DelayActivity()

Initializes a new instance of the DelayActivity class.

DelayActivity(String) DelayActivity(String) DelayActivity(String) DelayActivity(String)

Initializes a new instance of the DelayActivity class using the name of the activity.

DelayActivity() DelayActivity() DelayActivity()

Initializes a new instance of the DelayActivity class.

public:
 DelayActivity();
public DelayActivity ();
Public Sub New ()

Examples

The following code example demonstrates how to initialize a new instance of the DelayActivity class. This code example is part of the SimpleStateMachineWorkflow SDK Sample from the StateMachineWorkflow.cs file. For more information, see Simple State Machine.

this.StartState = new System.Workflow.Activities.StateActivity();
Me.StartState = New System.Workflow.Activities.StateActivity()
See also

DelayActivity(String) DelayActivity(String) DelayActivity(String) DelayActivity(String)

Initializes a new instance of the DelayActivity class using the name of the activity.

public:
 DelayActivity(System::String ^ name);
public DelayActivity (string name);
new System.Workflow.Activities.DelayActivity : string -> System.Workflow.Activities.DelayActivity
Public Sub New (name As String)

Parameters

name
String String String String

The user-defined name of the activity.

See also

Applies to