ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 114 - MB-500 discussion

Report
Export

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.

Answers
A.

Mark the class as final.

B.

Add the class buffer as the first parameter.

Answers
B.

Add the class buffer as the first parameter.

C.

Add the suffix .extension to the file name.

Answers
C.

Add the suffix .extension to the file name.

D.

Add the suffix _myextension to the file name.

Answers
D.

Add the suffix _myextension to the file name.

Suggested answer: A

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.

Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-wrapping-coc

asked 05/10/2024
Evelina Turco
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first