อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


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.

C#
public CompositeActivity();

Applies to

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

CompositeActivity(IEnumerable<Activity>)

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

C#
public CompositeActivity(System.Collections.Generic.IEnumerable<System.Workflow.ComponentModel.Activity> children);

Parameters

children
IEnumerable<Activity>

The Object implementing the IEnumerable interface with type Activity.

Applies to

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

CompositeActivity(String)

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

C#
public CompositeActivity(string name);

Parameters

name
String

The name for the instance.

Exceptions

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

Applies to

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1