ITaskService.UpdateTask Method
Updates a workflow task with the specified properties.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.GuidThe ID of the workflow task to update.
properties
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskPropertiesThe updated properties of the workflow task.
Remarks
When this method is called, the ITaskService class raises an OnTaskChanged event.