You are a Dynamics 365 Finance developer. You need to create an extension class. Which action should you perform?

QuestionsCategory: MB-500You are a Dynamics 365 Finance developer. You need to create an extension class. Which action should you perform?
Admin Staff asked 4 months ago
You are a Dynamics 365 Finance developer.
You need to create an extension class.
Which action should you perform?

A. Mark the class as final.

B. Add the class buffer as the first parameter.

C. Mark the class as protected.

D. Mark the class as public.








 

Suggested Answer: A

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.
Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-wrapping-coc

This question is in MB-500 Microsoft Dynamics 365 Finance and Operations Apps Developer Exam
For getting Microsoft Certified: Dynamics 365 Finance and Operations Apps Developer Associate Certificate




Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Microsoft. 
The website does not contain actual questions and answers from Microsoft's Certification Exams.
Trademarks, certification & product names are used for reference only and belong to Microsoft.

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.