Activity Constructor (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: