StateActivity Constructors 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the StateActivity class.
Overloads
| StateActivity() | 
						 Initializes a new instance of the StateActivity class.  | 
        	
| StateActivity(String) | 
						 Initializes a new instance of the StateActivity class using the name of the activity.  | 
        	
StateActivity()
Initializes a new instance of the StateActivity class.
public:
 StateActivity();
	public StateActivity();
	Public Sub New ()
  Applies to
StateActivity(String)
Initializes a new instance of the StateActivity class using the name of the activity.
public:
 StateActivity(System::String ^ name);
	public StateActivity(string name);
	new System.Workflow.Activities.StateActivity : string -> System.Workflow.Activities.StateActivity
	Public Sub New (name As String)
	Parameters
- name
 - String
 
The user-defined name of the activity.