ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 148 - 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.

Mark the class as protected.

Answers
C.

Mark the class as protected.

D.

Mark the class as public.

Answers
D.

Mark the class as public.

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.R

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

asked 05/10/2024
Thanh Phan
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first