Edit

Share via


Activity Constructors

Definition

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)

Initializes a new instance of the Activity class, while initializing the Name.

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).

Applies to