Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deletes the specified workflow task.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Sub DeleteTask ( _
taskId As Guid _
)
'Usage
Dim instance As ITaskService
Dim taskId As Guid
instance.DeleteTask(taskId)
void DeleteTask(
Guid taskId
)
Parameters
taskId
Type: System.GuidThe ID of the workflow task to delete.
Remarks
When this method is called, the ITaskService class raises an OnTaskDeleted event.