ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 5 - MB-500 discussion

Report
Export

You are a Dynamics 365 Finance developer. You create a class.

You need to mark the class to ensure that when code is compiled, the process fails if a specific method is called in the source code.

Which attribute should you use?

A.

SysEntryPointAttribute

Answers
A.

SysEntryPointAttribute

B.

getAttributes

Answers
B.

getAttributes

C.

SysAttribute

Answers
C.

SysAttribute

D.

SysObsoleteAttribute

Answers
D.

SysObsoleteAttribute

Suggested answer: D

Explanation:

One use of the SysObsoleteAttribute class is to notify the compiler that the compile should fail if a particular method is called in the source code. The compiler rejects the compile, and displays the specific message that is stored in this use of the attribute.

Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-attribute-classes

asked 05/10/2024
Joshua Paffen
20 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first