TaskCancelledCheck Delegate

A delegate that is used to determine whether a workflow task has been cancelled.

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 TaskCancelledCheck ( _
    sender As Object, _
    taskId As Guid, _
    creationProperties As SPWorkflowTaskProperties, _
    <OutAttribute> ByRef outcome As String _
) As Boolean
'Usage
Dim instance As New TaskCancelledCheck(AddressOf HandlerMethod)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public delegate bool TaskCancelledCheck(
    Object sender,
    Guid taskId,
    SPWorkflowTaskProperties creationProperties,
    out string outcome
)

Parameters

  • taskId
    Type: System.Guid
    The GUID of the workflow task identifier (ID).

Return Value

Type: System.Boolean
A Boolean value that indicates whether or not the workflow task has been cancelled.

See Also

Reference

Microsoft.Office.Workflow Namespace