A developer needs to implement a business rule that prevents users from deleting a document in a specific library if its 'Approval Status' is 'Approved'. The operation must be cancelled before the item is moved to the recycle bin, and a custom error message must be shown. Which type of event receiver is required to accomplish this?
-
A
An asynchronous ItemDeleted event receiver
-
B
A synchronous ItemAdded event receiver
-
C
An asynchronous ItemDeleting event receiver
-
D
A synchronous ItemDeleting event receiver