Activity Constructor (String^)

 

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

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public:
Activity(
	String^ name
)

Parameters

name
Type: System::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.

Exception Condition
ArgumentNullException

name is a null reference (Nothing in Visual Basic).

.NET Framework
Available since 3.0
Return to top
Show: