Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ChangeAllowedCheck delegate

A delegate that can be used to verify whether the workflow task properties can be changed.

Namespace:  Microsoft.Office.Workflow
Assembly:  Microsoft.Office.Workflow.Tasks (in Microsoft.Office.Workflow.Tasks.dll)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public delegate bool ChangeAllowedCheck(
	Object sender,
	Guid taskId,
	SPWorkflowTaskProperties beforeProperties,
	SPWorkflowTaskProperties afterProperties,
	string executor,
	out string reason
)

Parameters

sender
Type: System.Object

An object that represents the caller of the ChangeAllowedCheck type.

taskId
Type: System.Guid

A GUID that represents the workflow task identifier (ID).

beforeProperties
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties

An SPWorkflowTaskProperties object that contains the property values before the properties are changed.

afterProperties
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties

An SPWorkflowTaskProperties object that contains the property values after the properties are changed.

executor
Type: System.String

The ID of the user who executed the event.

reason
Type: System.String

A string that contains the reason for the change.

Return value

Type: System.Boolean
A Boolean value that indicates whether or not the workflow task is can be changed.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.