次の方法で共有


OnTaskCreated Class

Responds to the event Windows SharePoint Services raises when a task associated with the workflow is created.

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      System.Workflow.Activities.HandleExternalEventActivity
        Microsoft.SharePoint.WorkflowActions.OnTaskCreated

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

Syntax

<ActivityToolboxDisplayAttribute("VSTTSharePointWorkflowTask", True)> _
<ToolboxBitmapAttribute(GetType(OnTaskCreated), "Resources.OnTaskCreated.bmp")> _
Public NotInheritable Class OnTaskCreated _
    Inherits HandleExternalEventActivity

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

Remarks

This activity responds to the ITaskService.OnTaskCreated event.

Windows SharePoint Services 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.

Thread Safety

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

See Also

Reference

OnTaskCreated Members

Microsoft.SharePoint.WorkflowActions Namespace

Other Resources

Workflow Activities for Windows SharePoint Services Overview

How Windows SharePoint Services Processes Workflow Activities

Workflow Task Forms (Windows SharePoint Services)