ConditionedActivityGroup.UntilCondition Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 BookingCAGConditionedActivityGroup class never completes. This code example is part of the ConditionedActivityGroup SDK Sample from the SimpleCAGWorkflow.Designer.cs file. For more information, seeUsing 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);

.NET Framework
Available since 3.0

ConditionedActivityGroup Class
System.Workflow.Activities Namespace
Using the ConditionedActivityGroup
Using Conditions in Workflows

Return to top
Show: