StateInitializationActivity Constructors

Definition

Overloads

StateInitializationActivity()

Initializes a new instance of the StateInitializationActivity class.

StateInitializationActivity(String)

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

StateInitializationActivity()

Initializes a new instance of the StateInitializationActivity class.

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

Examples

The following example shows how to create a new instance of a StateInitializationActivity object. This example is from the State Initialization SDK sample. For more information, see State Initialization Sample.

correlationtoken1.OwnerActivityName = "sequence2";
correlationtoken1.OwnerActivityName = "sequence2"

See also

Applies to

StateInitializationActivity(String)

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

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

Parameters

name
String

The user-defined name of the activity.

Applies to