Activity 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 Activity class.
Overloads
Activity() |
Initializes a new instance of the Activity class. |
Activity(String) |
Initializes a new instance of the Activity class, while initializing the Name. |
Activity()
Initializes a new instance of the Activity class.
public:
Activity();
public Activity();
Public Sub New ()
Applies to
Activity(String)
public:
Activity(System::String ^ name);
public Activity(string name);
new System.Workflow.ComponentModel.Activity : string -> System.Workflow.ComponentModel.Activity
Public Sub New (name As String)
Parameters
- name
- String
The name to associate with this instance. The name must conform to the variable naming conventions for the programming language that is being used in the Workflow project, and must be unique in the workflow.
Exceptions
name
is a null reference (Nothing
in Visual Basic).