In an ItemDeleting event receiver, is there a way to find out whether SPListItem.Delete or SPListItem.Recycle was called?
I would like to write different things to my log here...
I thought the answer was to check if the document was in the recycle bin:
But the problem is that if I do it in ItemAdding, it hasn't been put in the recycle bin yet, and if I do it in ItemAdded, I can no longer get the ID of the item...
This is a possible solution to my question
But in my log, I also need some fields from the SPListItem, which is null in the ItemDeleted event. So I guess there is no solution...