MB-500 · Question #152
Case Study 2 - First Up Consultants Background Overview First Up Consultants provides Commercial Cleaning services to its clients. The company purchases all its cleaning supplies from Best For You…
The correct answer is A. Add a post handler to the method that checks the enumeration and logic for your new. If the switch block doesn't have a default case block or a default case block that doesn't throw an exception, handle the extended enum value by subscribing to a delegate, if a delegate is provided. Otherwise, add a post-event handler to the method. If the enum is used in a…
Question
Options
- AAdd a post handler to the method that checks the enumeration and logic for your new
- BAdd a post handler to the method that checks the enumeration and logic for your new
- CAdd a new case statement in the model of the existing code.
- DAdd a post handler to the method that checks the enumeration and logic for your new
How the community answered
(20 responses)- A55% (11)
- B10% (2)
- C10% (2)
- D25% (5)
Explanation
If the switch block doesn't have a default case block or a default case block that doesn't throw an exception, handle the extended enum value by subscribing to a delegate, if a delegate is provided. Otherwise, add a post-event handler to the method. If the enum is used in a switch that has a default case block that throws an exception, contact Microsoft to request a delegate. https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/add-enum-
Topics
Community Discussion
No community discussion yet for this question.