Question 126

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets 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 must create a new attribute class in which to mark other classes in the ISV solution and their respective methods with the error levels Warning and Error. You have the following class: (Une numbers are included for reference only.)

You need 10 ensure that the compiler will report an error if code calls the bike method.
Solution:
Create the following attribute class:

Insert the following code at line 01:

Does the solution meet the goal?
  • Question 127

    You are a Dynamics 365 Finance developer. You have The following code:

    Which values does the info() method return? To answer, select the appropriate option in the answer area.
    NOTE: Each correct selection is worth one point.

    Question 128

    A company uses Dynamics 365 Finance.
    You must create two data entities:
    * The first entity must allow access to customer groups by using OOata.
    * The second entity must be able to bulk export customer data by using a batch process.
    You need to enable the properties for each entity you create.
    Which properties should you enable? To answer, drag the appropriate properties to the correct requirements.
    Each property may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
    NOTE: Each correct selection is worth one point.

    Question 129

    A company uses Dynamics 365 Finance.
    You implement an extension of a method named calc in ClassA. The calc method:
    * Accepts an integer as an input parameter.
    * Returns an integer as an output parameter.
    You must implement an extension to:
    * Extend the calc method.
    * Prevent the standard code from running if the value of the input parameter is greater than 10- You need to implement the correct solution. Which code segment should you use?
  • Question 130

    Vou are a Dynamics 365 finance developer.
    You create an integer variable named inventQuantity.
    You need to display the value from inventQuantlty in an info statement
    Which code segment should you use?