ITaskService.UpdateTask method

Updates a workflow task with the specified properties.

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

Syntax

'Declaration
Sub UpdateTask ( _
    taskId As Guid, _
    properties As SPWorkflowTaskProperties _
)
'Usage
Dim instance As ITaskService
Dim taskId As Guid
Dim properties As SPWorkflowTaskProperties

instance.UpdateTask(taskId, properties)
void UpdateTask(
    Guid taskId,
    SPWorkflowTaskProperties properties
)

Parameters

  • taskId
    Type: System.Guid

    The ID of the workflow task to update.

Remarks

When this method is called, the ITaskService class raises an OnTaskChanged event.

See also

Reference

ITaskService interface

ITaskService members

Microsoft.SharePoint.Workflow namespace