Show / Hide Table of Contents

Method CreateAsync

CreateAsync(ArcadeExpression, ArcadeProfile)

Creates a new instance of the ArcadeEvaluator class with the specified Arcade expression and execution context.

Declaration
public static async Task<ArcadeEvaluator> CreateAsync(ArcadeExpression expression, ArcadeProfile profile)
Parameters
Type Name Description
ArcadeExpression expression

The Arcade expression to be evaluated.

ArcadeProfile profile

The Arcade profile under which the expression will be evaluated.

Returns
Type Description
System.Threading.Tasks.Task<ArcadeEvaluator>

A task object representing the asynchronous create operation. The result of the task is a loaded ArcadeEvaluator object.

Exceptions
Type Condition
System.ArgumentNullException

expression is null.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.14 - 100.15
.NET 6.0100.14 - 100.15
.NET 6.0 Windows100.14 - 100.15
.NET Framework100.14 - 100.15
Xamarin.Android100.14 - 100.15
Xamarin.iOS100.14 - 100.15
UWP100.14 - 100.15
In This Article
Back to top Copyright © 2022 Esri.