Compartilhar via


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.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