OnTaskCreated Class

Defines a workflow activity that is used to respond to the ITaskService.OnTaskCreated event.

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

[ActivityToolboxDisplayAttribute("VSTTSharePointWorkflowTask", true)]
[ToolboxBitmapAttribute(typeof(OnTaskCreated), "Resources.OnTaskCreated.bmp")]
public sealed class OnTaskCreated : HandleExternalEventActivity

SharePoint Foundation raises the ITaskService.OnTaskCreated event when a task associated with the workflow is created.

SharePoint Foundation includes several activities that streamline the process of creating, updating, completing, and deleting tasks associated with a workflow. You can also use event-based activities to receive notification when tasks have been created, changed, or deleted.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.