ArcadeConsoleMessageContext Class

  • ArcadeConsoleMessageContext
  • class Esri::ArcGISRuntime::ArcadeConsoleMessageContext

    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:

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.