Provides information about the execution context where an Arcade console function is invoked. More...
Header: | #include <ArcadeConsoleMessageContext> |
Since: | Esri::ArcGISRuntime 100.14 |
Inherits: | Esri::ArcGISRuntime::Object |
Public Functions
virtual | ~ArcadeConsoleMessageContext() override |
QMap<QString, QString> | information() const |
Esri::ArcGISRuntime::ArcadeProfile | profile() const |
Detailed Description
Member Function Documentation
[override virtual]
ArcadeConsoleMessageContext::~ArcadeConsoleMessageContext ()
Destructor.
QMap<QString, QString> ArcadeConsoleMessageContext::information() const
Returns a dictionary of optional context information when the Arcade console function is invoked.
If this is an ArcadeProfile::AttributeRuleConstraint or ArcadeProfile::AttributeRuleCalculation, expect information to include the following keys:
- ruleName - The name of the attribute rule that invoked the Arcade console function.
- tableName - The name of the ArcGISFeatureTable evaluating the attribute rule.
Esri::ArcGISRuntime::ArcadeProfile ArcadeConsoleMessageContext::profile() const
Returns the ArcadeProfile that invoked the Arcade console function.
Arcade console messages may be sent from different execution contexts, for example:
- ArcadeProfile::AttributeRuleConstraint indicates evaluation of an Attribute Rule Constraint. See documentation for Attribute Rule Constraint.
- ArcadeProfile::AttributeRuleCalculation indicates evaluation of an Attribute Rule Calculation. See documentation for Attribute Rule Calculation.
- ArcadeProfile::Restricted indicates no optional functionality this is allowed.
- ArcadeProfile::Unrestricted indicates optional functionalities are allowed and this is the legacy default.