Session.GetExecutionContext() Method

Version: Available or changed with runtime version 1.0.

Gets the current session's execution context.

Syntax

ExecutionContext :=   Session.GetExecutionContext()

Note

This method can be invoked without specifying the data type name.

Return Value

ExecutionContext
 Type: ExecutionContext
The current session's execution context.

Remarks

For an example of when and how to run the GetExecutionContext method, see Protecting sensitive code from running during upgrade.

See Also

Session Data Type
Get Started with AL
Developing Extensions