DelayActivity Constructors

Definition

Initializes a new instance of the DelayActivity class.

Overloads

DelayActivity()

Initializes a new instance of the DelayActivity class.

DelayActivity(String)

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

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

Applies to

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

The user-defined name of the activity.

See also

Applies to