Q
You are implementing a feature for your company’s Microsoft Dynamics 365 finance and operations apps that requires handling events during the lifecycle of a business process.
You need to ensure that the application can respond to specific events without tightly coupling the event handlers to the business process logic.
What should you implement?
Question Info
Choose the Best Option
Click any option to instantly check if you're correct.
Explanation
Correct: Create event handler classes and subscribe them to the appropriate delegates.
Option A is correct because event handler classes and delegates provide a decoupled way to respond to events. Option B is incorrect as global variables do not provide a mechanism for event handling and can lead to tightly coupled code. Option C is incorrect because embedding the logic within the methods leads to tight coupling and is not a best practice for event handling. Option D is incorrect as polling is not an efficient or recommended method for event handling in this context.
Want to remember what you got wrong?
Create a free account in seconds to track your score, revisit mistakes and continue X++ Programming Language where you left off.
- Save your progress & streak
- Topic-wise quizzes & scores
- Bookmark tricky questions
- Printable MCQ sets
Nice — 3 questions done!
Don't lose this streak. Sign up free to save your score and pick up exactly where you stopped.
Share This Question
Challenge a friend or share with your study group.