ITaskService.CompleteTask method

Marks the specified workflow task as complete.

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

Syntax

'Declaration
Sub CompleteTask ( _
    taskId As Guid, _
    taskOutcome As String _
)
'Usage
Dim instance As ITaskService
Dim taskId As Guid
Dim taskOutcome As String

instance.CompleteTask(taskId, taskOutcome)
void CompleteTask(
    Guid taskId,
    string taskOutcome
)

Parameters

  • taskId
    Type: System.Guid

    The ID of the task to be marked as complete.

  • taskOutcome
    Type: System.String

    The outcome of the completed task.

See also

Reference

ITaskService interface

ITaskService members

Microsoft.SharePoint.Workflow namespace