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.GuidThe ID of the task to roll back.
reason
Type: System.StringThe reason the task is to be rolled back.