ITaskService.OnTaskCreated Event

Raised when the a workflow task is created.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

[CorrelationAliasAttribute("taskId", "e.taskId")]
event EventHandler<SPTaskServiceEventArgs> OnTaskCreated

When the ITaskService service raises an event, the event parameters are contained in the SPTaskServiceEventArgs class.

You can add an OnTaskCreated workflow activity to your workflow to respond to this event.