Argument.EvaluationOrder Property

Definition

Gets or sets a zero-based value that specifies the order in which the argument is evaluated.

C#
public int EvaluationOrder { get; set; }

Property Value

A zero-based value that specifies the order in which the argument is evaluated.

Exceptions

The value is less than zero and not equal to UnspecifiedEvaluationOrder.

Remarks

By default, the evaluation order of the argument is unspecified and is equal to the UnspecifiedEvaluationOrder value. Set EvaluationOrder to a value greater or equal to zero to specify an evaluation order for this argument. Windows Workflow Foundation evaluates arguments with a specified evaluation order in ascending order. Note that arguments with an unspecified evaluation order are evaluated before those with a specified evaluation order.

Applies to

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