Free MB-500 Exam Braindumps (page: 21)

Page 21 of 66
View Related Case Study

You are a Dynamics 365 Finance developer.
You need to create an extension class.
Which action should you perform?

  1. Mark the class as final.
  2. Add the class buffer as the first parameter.
  3. Add the suffix .extension to the file name.
  4. Add the suffix _myextension to the file name.

Answer(s): 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.


Reference:

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



View Related Case Study

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have an enumeration named truckStatus that has the following statuses:

-Empty
-Loaded
-Completed

You have the following code:

You need to extend this enumeration and add the following statuses to the enumeration: Quarantine, InTransit. You must then modify code that validates the switch statement.

Solution: Add a post handler to the method that checks the enumeration and logic for your new enumeration values using a range comparison for your new values.



Does the solution meet the goal?

  1. Yes
  2. No

Answer(s): B



View Related Case Study

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have an enumeration named truckStatus that has the following statuses:
-Empty
-Loaded
-Completed

You have the following code:



You need to extend this enumeration and add the following statuses to the enumeration: Quarantine, InTransit. You must then modify code that validates the switch statement.

Solution: Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the integer value of the enumeration.



Does the solution meet the goal?

  1. Yes
  2. No

Answer(s): B



View Related Case Study

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an enumeration named truckStatus that has the following statuses: Empty
Loaded Completed

You have the following code:


You need to extend this enumeration and add the following statuses to the enumeration: Quarantine, InTransit. You must then modify code that validates the switch statement.

Solution: Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the enumeration value.



Does the solution meet the goal?

  1. Yes
  2. No

Answer(s): A



Page 21 of 66



Post your Comments and Discuss Microsoft MB-500 exam with other Community members:

the coder1 commented on December 11, 2024
It helped alot
UNITED KINGDOM
upvote

Ek commented on June 29, 2024
It helped alot
INDIA
upvote

Tom commented on March 18, 2022
i purchased this exam dumps from another website with way more questions but they were all invalid and outdate. this exam dumps was right to the point and all from recent exam. it was a hard pass.
UNITED KINGDOM
upvote

Tom commented on March 18, 2022
I purchased this exam dumps from another website with way more questions but they were all invalid and outdate. This exam dumps was right to the point and all from recent exam. It was a hard pass.
UNITED KINGDOM
upvote

Eddie commented on September 20, 2021
These notes are pretty informative along with the questions. I helped a lot.
UNITED STATES
upvote