Which type of exception should you handle?
You are planning to use X++ to develop a solution that will update multiple records.
You need to ensure that if the solution attempts to modify records that are currently being edited by a user, the operation will be retried.
Which type of exception should you handle?
A . UpdateConflict
B . CodeAccessSecurity
C . UpdateConflictNotRecovered
D . Deadlock
Answer: A
Explanation:
UpdateConflict: Indicates that an error has occurred in a transaction that is using Optimistic Concurrency
Control. The transaction can be retried (use a retry statement in the catch block).
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments