You are a Dynamics 365 Finance developer. You create a class.
You need to mark the class to ensure that when code is compiled, the process fails if a specific method is called in the source code.
Which attribute should you use?
One use of the SysObsoleteAttribute class is to notify the compiler that the compile should fail if a particular method is called in the source code. The compiler rejects the compile, and displays the specific message that is stored in this use of the attribute.
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-attribute-classes
Currently there are no comments in this discussion, be the first to comment!