TaskCompleteCheck Delegate
A delegate that is used to determine if a workflow task has been completed.
Namespace: Microsoft.Office.Workflow
Assembly: Microsoft.Office.Workflow.Tasks (in Microsoft.Office.Workflow.Tasks.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Delegate Function TaskCompleteCheck ( _
sender As Object, _
taskId As Guid, _
creationPtoperties As SPWorkflowTaskProperties, _
properties As Hashtable, _
executor As String, _
<OutAttribute> ByRef outcome As String _
) As Boolean
'Usage
Dim instance As New TaskCompleteCheck(AddressOf HandlerMethod)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public delegate bool TaskCompleteCheck(
Object sender,
Guid taskId,
SPWorkflowTaskProperties creationPtoperties,
Hashtable properties,
string executor,
out string outcome
)
Parameters
- sender
Type: System.Object
The calling object.
- taskId
Type: System.Guid
The GUID of the workflow task identifier (ID).
- creationPtoperties
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties
An [SPWorkflowTaskProperties] object that contains the properties of the workflow task when it was created.
- properties
Type: System.Collections.Hashtable
A hash table that contains the properties of the workflow task.
- executor
Type: System.String
ID of the user who is executing the task.
- outcome
Type: System.String
Return Value
Type: System.Boolean
A Boolean value that indicates whether the workflow task has been completed.