CompleteTask Class
Marks a Windows SharePoint Services task as completed.
Inheritance Hierarchy
System.Object
System.Workflow.ComponentModel.DependencyObject
System.Workflow.ComponentModel.Activity
System.Workflow.Activities.CallExternalMethodActivity
Microsoft.SharePoint.WorkflowActions.CompleteTask
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
<ToolboxBitmapAttribute(GetType(CompleteTask), "Resources.CompleteTask.bmp")> _
<ActivityToolboxDisplayAttribute("VSTTSharePointWorkflowTask", True)> _
Public NotInheritable Class CompleteTask _
Inherits CallExternalMethodActivity
Dim instance As CompleteTask
[ToolboxBitmapAttribute(typeof(CompleteTask), "Resources.CompleteTask.bmp")]
[ActivityToolboxDisplayAttribute("VSTTSharePointWorkflowTask", true)]
public sealed class CompleteTask : CallExternalMethodActivity
Remarks
Marking a task as completed changes the workflow status column value for that task to "Completed" in Windows SharePoint Services. This activity implements the ITaskService.CompleteTask method.
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
Microsoft.SharePoint.WorkflowActions Namespace
Other Resources
Workflow Activities for Windows SharePoint Services Overview
How Windows SharePoint Services Processes Workflow Activities