Skip to Content

MB-500: What Attribute Allows Overriding Final Methods in Dynamics 365 Development?

How to Extend Final Methods in Dynamics 365 F&O Using Wrappable(True)?

Table of Contents

Question

You are developing a Dynamics 365 application. You need to extend a base class method but the method is marked as final.

You need to override the restriction and wrap the final method in an extension class.

What attribute should you use?

Select only one answer.

A. Hookable(false)
B. Hookable(true)
C. Wrappable(true)
D. Wrappable(false)

Answer

C. Wrappable(true)

Explanation

The Wrappable(true) attribute can be used to override the restriction and allow final methods to be wrapped in extension classes. Hookable(true) does not influence chain of command wrapping. Wrappable(false) marks methods as non-wrappable. Hookable(false) makes the method unable to be wrapped in an extension class.

Microsoft Dynamics 365: Finance and Operations Apps Developer MB-500 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Dynamics 365: Finance and Operations Apps Developer MB-500 exam and earn Microsoft Dynamics 365: Finance and Operations Apps Developer MB-500 certification.