Rediger

Del via


ConditionedActivityGroup.UntilCondition Property

Definition

Gets or sets a value that indicates when the ConditionedActivityGroup should complete.

public:
 property System::Workflow::ComponentModel::ActivityCondition ^ UntilCondition { System::Workflow::ComponentModel::ActivityCondition ^ get(); void set(System::Workflow::ComponentModel::ActivityCondition ^ value); };
public System.Workflow.ComponentModel.ActivityCondition UntilCondition { get; set; }
member this.UntilCondition : System.Workflow.ComponentModel.ActivityCondition with get, set
Public Property UntilCondition As ActivityCondition

Property Value

A condition that determines whether the ConditionedActivityGroup should complete.

Examples

The following code example shows how to set the UntilCondition to null, which means the BookingCAG ConditionedActivityGroup class never completes. This code example is part of the ConditionedActivityGroup SDK Sample from the SimpleCAGWorkflow.Designer.cs file. For more information, see Using ConditionedActivityGroup.

this.BookingCag.Activities.Add(this.Car);
this.BookingCag.Activities.Add(this.Airline);
this.BookingCag.Name = "BookingCag";
codecondition1.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.CarCondition);
Me.BookingCag.Activities.Add(Me.Car)
Me.BookingCag.Activities.Add(Me.Airline)
Me.BookingCag.Name = "BookingCag"
AddHandler codecondition1.Condition, AddressOf CarCondition

Applies to

See also