ITaskService.CompleteTask Method
Marks the specified workflow task as complete.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.GuidThe ID of the task to be marked as complete.
taskOutcome
Type: System.StringThe outcome of the completed task.