Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
UntilCondition Property
Collapse the table of content
Expand the table of content

ConditionedActivityGroup.UntilCondition Property

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

Namespace:  System.Workflow.Activities
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

public ActivityCondition UntilCondition { get; set; }

Property Value

Type: System.Workflow.ComponentModel.ActivityCondition
A condition that determines whether the ConditionedActivityGroup should complete.

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.Name = "BookingCag";
codecondition1.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.CarCondition);

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
© 2015 Microsoft