IfElseActivity.AddBranch Method
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.
Adds a new branch to the IfElseActivity.
Overloads
AddBranch(ICollection<Activity>) |
Adds a new branch to the IfElseActivity using a collection of new activities to add to the new branch. |
AddBranch(ICollection<Activity>, ActivityCondition) |
Adds a new branch to the IfElseActivity using a collection of new activities to add to the new branch. |
AddBranch(ICollection<Activity>)
Adds a new branch to the IfElseActivity using a collection of new activities to add to the new branch.
public:
System::Workflow::Activities::IfElseBranchActivity ^ AddBranch(System::Collections::Generic::ICollection<System::Workflow::ComponentModel::Activity ^> ^ activities);
public System.Workflow.Activities.IfElseBranchActivity AddBranch (System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity> activities);
member this.AddBranch : System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity> -> System.Workflow.Activities.IfElseBranchActivity
Public Function AddBranch (activities As ICollection(Of Activity)) As IfElseBranchActivity
Parameters
- activities
- ICollection<Activity>
A collection of activities to add to the new branch.
Returns
The updated IfElseBranchActivity with the new branches.
See also
Applies to
AddBranch(ICollection<Activity>, ActivityCondition)
Adds a new branch to the IfElseActivity using a collection of new activities to add to the new branch.
public:
System::Workflow::Activities::IfElseBranchActivity ^ AddBranch(System::Collections::Generic::ICollection<System::Workflow::ComponentModel::Activity ^> ^ activities, System::Workflow::ComponentModel::ActivityCondition ^ branchCondition);
public System.Workflow.Activities.IfElseBranchActivity AddBranch (System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity> activities, System.Workflow.ComponentModel.ActivityCondition branchCondition);
member this.AddBranch : System.Collections.Generic.ICollection<System.Workflow.ComponentModel.Activity> * System.Workflow.ComponentModel.ActivityCondition -> System.Workflow.Activities.IfElseBranchActivity
Public Function AddBranch (activities As ICollection(Of Activity), branchCondition As ActivityCondition) As IfElseBranchActivity
Parameters
- activities
- ICollection<Activity>
A collection of activities to add to the new branch.
- branchCondition
- ActivityCondition
An ActivityCondition that determines whether the branch should be run.
Returns
The updated IfElseBranchActivity with the new branches.
See also
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