Export (0) Print
Expand All

ITaskService.OnTaskCreated event

Raised when the a workflow task is created.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[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.

© 2014 Microsoft