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: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om