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
- sender
Type: System.Object
The calling object.
- taskId
Type: System.Guid
The GUID of the workflow task ID.
- creationProperties
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties
An [SPWorkflowTaskProperties] object that contains the properties of the workflow task when it was created.
- executor
Type: System.String
The identifier (ID) of the user who is executing the task.