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

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

Return Value

Type: System.Boolean
A Boolean value that indicates whether the workflow task has been completed.

See Also

Reference

Microsoft.Office.Workflow Namespace