DoWhile Constructors

Definition

Creates a new instance of the DoWhile class.

Overloads

DoWhile()

Creates a new instance of the DoWhile class.

DoWhile(Activity<Boolean>)

Creates a new instance of the DoWhile class.

DoWhile(Expression<Func<ActivityContext,Boolean>>)

Creates a new instance of the DoWhile class.

DoWhile()

Creates a new instance of the DoWhile class.

C#
public DoWhile();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 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

DoWhile(Activity<Boolean>)

Creates a new instance of the DoWhile class.

C#
public DoWhile(System.Activities.Activity<bool> condition);

Parameters

condition
Activity<Boolean>

The condition under which the activity continues to iterate.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 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

DoWhile(Expression<Func<ActivityContext,Boolean>>)

Creates a new instance of the DoWhile class.

C#
public DoWhile(System.Linq.Expressions.Expression<Func<System.Activities.ActivityContext,bool>> condition);

Parameters

condition
Expression<Func<ActivityContext,Boolean>>

The condition under which the activity continues to iterate.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 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