Share via


ITaskService.RollbackTask method

Rolls back the specified task.

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

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