TaskDeleteCheck Delegate

Specifies a delegate that is used to check if a workflow task has been deleted.

Namespace:  Microsoft.Office.Workflow
Assembly:  Microsoft.Office.Workflow.Tasks (in Microsoft.Office.Workflow.Tasks.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Delegate Sub TaskDeleteCheck ( _
    sender As Object, _
    taskId As Guid, _
    creationProperties As SPWorkflowTaskProperties, _
    executor As String _
)
'Usage
Dim instance As New TaskDeleteCheck(AddressOf HandlerMethod)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public delegate void TaskDeleteCheck(
    Object sender,
    Guid taskId,
    SPWorkflowTaskProperties creationProperties,
    string executor
)

Parameters

  • taskId
    Type: System.Guid
    The GUID of the workflow task ID.
  • executor
    Type: System.String
    The identifier (ID) of the user who is executing the task.

See Also

Reference

Microsoft.Office.Workflow Namespace