Notifications
Announcements
No record found.
Hi
Why final keyword used in Chain of command?
CoC used to wrapping the method. Let me know what is the meaning of wrapping here?
Please give me more shed on this
Hi @rp@n,
Because the classes are instantiated by the runtime system, it's not meaningful to derive from the extension class. Therefore, the extension class must be marked as final.
I think you need to read Microsoft Doc carefully :https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-wrapping-coc
Thanks Bule
Actually I read this doc before also. Just want to know
Why final keyword is using? And what mean by wrapping here
For ”Why final keyword is using?"
For "what mean by wrapping?“
When you wrap a method, you can also access public and protected methods, and variables of the base class. In this way, you can start transactions and easily manage state variables that are associated with your class.
Thanks blue
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 451 Most Valuable Professional
André Arnaud de Cal... 428 Super User 2025 Season 2
BillurSamdancioglu 239 Most Valuable Professional