Modifica

Condividi tramite


CompositeActivity Constructors

Definition

Initializes a new instance of the CompositeActivity class.

Overloads

CompositeActivity()

Initializes a new instance of the CompositeActivity class.

CompositeActivity(IEnumerable<Activity>)

Initializes a new instance of the CompositeActivity class from an Object which implements the IEnumerable interface with type Activity.

CompositeActivity(String)

Initializes a new instance of the CompositeActivity class, along with the name for that activity.

CompositeActivity()

Initializes a new instance of the CompositeActivity class.

public:
 CompositeActivity();
public CompositeActivity ();
Public Sub New ()

Applies to

CompositeActivity(IEnumerable<Activity>)

Initializes a new instance of the CompositeActivity class from an Object which implements the IEnumerable interface with type Activity.

public:
 CompositeActivity(System::Collections::Generic::IEnumerable<System::Workflow::ComponentModel::Activity ^> ^ children);
public CompositeActivity (System.Collections.Generic.IEnumerable<System.Workflow.ComponentModel.Activity> children);
new System.Workflow.ComponentModel.CompositeActivity : seq<System.Workflow.ComponentModel.Activity> -> System.Workflow.ComponentModel.CompositeActivity
Public Sub New (children As IEnumerable(Of Activity))

Parameters

children
IEnumerable<Activity>

The Object implementing the IEnumerable interface with type Activity.

Applies to

CompositeActivity(String)

Initializes a new instance of the CompositeActivity class, along with the name for that activity.

public:
 CompositeActivity(System::String ^ name);
public CompositeActivity (string name);
new System.Workflow.ComponentModel.CompositeActivity : string -> System.Workflow.ComponentModel.CompositeActivity
Public Sub New (name As String)

Parameters

name
String

The name for the instance.

Exceptions

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

Applies to