Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ChangeAllowedCheck Delegate

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.

Community Additions

ADD
Show:
© 2015 Microsoft