MB-500 · Question #135
You are a Dynamics 365 Finance developer. You need to create an extension class. Which action should you perform?
The correct answer is A. Mark the class as final. Extension classes are final classes that are adorned with the ExtensionOf attribute and that also have a name that has the _Extension suffix. Because the classes are instantiated by the runtime system, it's not meaningful to derive from the extension class. Therefore, the…
Question
Options
- AMark the class as final.
- BAdd the class buffer as the first parameter.
- CAdd the suffix .extension to the file name.
- DAdd the suffix _myextension to the file name.
How the community answered
(34 responses)- A88% (30)
- B6% (2)
- C3% (1)
- D3% (1)
Explanation
Extension classes are final classes that are adorned with the ExtensionOf attribute and that also have a name that has the _Extension suffix. 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. https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-
Topics
Community Discussion
No community discussion yet for this question.