Share via


ITaskService.RollbackTask Method

Rolls back the specified task.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Sub RollbackTask ( _
    taskId As Guid, _
    reason As String _
)
'Usage
Dim instance As ITaskService
Dim taskId As Guid
Dim reason As String

instance.RollbackTask(taskId, reason)
void RollbackTask(
    Guid taskId,
    string reason
)

Parameters

  • taskId
    Type: System.Guid

    The ID of the task to roll back.

  • reason
    Type: System.String

    The reason the task is to be rolled back.

See Also

Reference

ITaskService Interface

ITaskService Members

Microsoft.SharePoint.Workflow Namespace