Method EvaluateExpressionsAsync
EvaluateExpressionsAsync()
Asynchronously evaluates all form expressions.
Declaration
public async Task<IEnumerable<FormExpressionEvaluationException>> EvaluateExpressionsAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<FormExpressionEvaluationException>> | The task object representing the asynchronous evaluation of all contained Arcade expressions. |
Remarks
An expression can include Arcade FeatureSet functions, which need to be evaluated asynchronously. Upon completion the task provides a set of FormExpressionEvaluationExceptions providing diagnostic information about errors encountered during evaluation of expressions. An empty list indicates no errors were encountered.
The Elements are fully populated and each placeholder is replaced by its value.
This method must be called before displaying the feature form in a UI so you can use synchronous methods on form elements. It should also be called after every call to UpdateValue(Object), in order to run any expressions which may depend on that value.
This method will load the Feature if it is not already loaded.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.4 - 200.5 |
.NET | 200.4 - 200.5 |
.NET Windows | 200.4 - 200.5 |
.NET Android | 200.4 - 200.5 |
.NET iOS | 200.4 - 200.5 |
.NET Framework | 200.4 - 200.5 |
UWP | 200.4 - 200.5 |