SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have written my Custom function into the EventReceiver created on Tasks.

public override void ItemDeleted(SPItemEventProperties properties) { base.ItemDeleted(properties); MYCustomFunctionforDelete(properties); }

I want to save the TaskName into my CustomList, when I delete any task from TaskList.

I am able to get the Name of TasksList, but not finding TaskName which is going to delete.

How can I do this ?

share|improve this question
up vote 2 down vote accepted

I think you should be using the ItemDeleting event to get the name of the task. Since ItemDeleted event happens after the item is deleted you cannot get information about something that already does not exists. There is a reference about the event properties :

share|improve this answer
Thanks Elitza Atanasova. Its worked for me. – Shahid Nov 26 '12 at 9:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.