Execution context (Client API reference)
The execution context defines the event context in which your code executes. More information: Client API execution context.
The execution context object provides the following methods.
Method | Description |
---|---|
getDepth | Returns a value that indicates the order in which this handler is executed. |
getEventArgs | Returns an object with methods to manage this handler. |
getEventSource | Returns a reference to the object that the event occurred on. |
getFormContext | Returns a reference to the form or an item on the form depending on where the method was called. |
getSharedVariable | Retrieves a variable set using the setSharedVariable method. |
setSharedVariable | Sets the value of a variable to be used by a handler after the current handler completes. |
Related articles
Client API execution context
Save event arguments
Understand Client API object model
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για