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
- sender
Type: System.Object
The calling object
- taskId
Type: System.Guid
The GUID of the workflow task identifier (ID).
- creationProperties
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties
An [SPWorkflowTaskProperties] object that contains the properties of the workflow task at the time of its creation.
- outcome
Type: System.String
Return Value
Type: System.Boolean
A Boolean value that indicates whether or not the workflow task has been cancelled.