ConditionedActivityGroup.UntilCondition Property

Definition

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

public System.Workflow.ComponentModel.ActivityCondition UntilCondition { get; set; }

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);

Applies to

Product Versions
.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

See also