Home » Microsoft » MB-500 » HOTSPOT
HOTSPOT
You are a Dynamics 365 Finance developer.
You have the following code: (Line numbers are included for reference only.)
You need to evaluate the code.
What is the correct output for the method? To answer, select the appropriate option in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Explanation/Reference:
Explanation:
Box 1: One, Two, Four, Fire The statements in the finally clause are executed when control leaves the try block, either normally or through an exception.
Box 2: One, Three, Four, Five Box 3: One, Three Return ends the call.
Box 4: One, Three, One, Two, Four, Five Retry restarts the try statement.
Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-exceptions