CompositeActivity Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the CompositeActivity class.
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. |
Initializes a new instance of the CompositeActivity class.
public:
CompositeActivity();
public CompositeActivity();
Public Sub New ()
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 |
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
.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 |
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
.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 |
คำติชม .NET
.NET เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม: