ParallelActivity Constructors
Definition
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 ParallelActivity class.
Overloads
ParallelActivity() |
Initializes a new instance of the ParallelActivity class. |
ParallelActivity(String) |
Initializes a new instance of the ParallelActivity class using the name of the activity. |
ParallelActivity()
Initializes a new instance of the ParallelActivity class.
public:
ParallelActivity();
public ParallelActivity ();
Public Sub New ()
Examples
The following code example shows how to create a new instance of the ParallelActivity class, add the ParallelActivity class to the WhileActivity class, and add two SequenceActivity classes to the ParallelActivity class. This code example is part of the WhileAndParallel SDK Sample from the WhileAndParallelWorkflow.Designer.cs file. For more information, see Using While and Parallel.
workflowRuntime.WorkflowLoaded += OnWorkflowLoad;
AddHandler currentWorkflowRuntime.WorkflowLoaded, AddressOf OnWorkflowLoaded
Applies to
ParallelActivity(String)
Initializes a new instance of the ParallelActivity class using the name of the activity.
public:
ParallelActivity(System::String ^ name);
public ParallelActivity (string name);
new System.Workflow.Activities.ParallelActivity : string -> System.Workflow.Activities.ParallelActivity
Public Sub New (name As String)
Parameters
- name
- String
The user-defined name of the activity.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för