Compiler Warning (Future Error) AL0830

Note

The AL diagnostics topics are in preview. If you have input for this topic, we'd love to hear from you. Use our GitHub repo to create a PR and add content to this topic by going to here. To read about contributing, see Contribute to the Help. Thanks!

The method '{0}' is not supported as the implementation for the interface method because it is a try function.

Important

This warning will become an error with Business Central 2024 release wave 2.

Description

Try functions cannot be used as interface method implementations because this can lead to unexpected behavior from the runtime.

Getting Started with AL
Developing Extensions