ReviewRouting.IsChangeAllowed Method
Namespace: Microsoft.Office.Workflow
Assembly: Microsoft.Office.Workflow.Routing (in Microsoft.Office.Workflow.Routing.dll)
Syntax
'Declaration
Public Function IsChangeAllowed ( _
sender As Object, _
taskId As Guid, _
beforeProperties As SPWorkflowTaskProperties, _
afterProperties As SPWorkflowTaskProperties, _
executorLogon As String, _
<OutAttribute> ByRef reason As String _
) As Boolean
'Usage
Dim instance As ReviewRouting
Dim sender As Object
Dim taskId As Guid
Dim beforeProperties As SPWorkflowTaskProperties
Dim afterProperties As SPWorkflowTaskProperties
Dim executorLogon As String
Dim reason As String
Dim returnValue As Boolean
returnValue = instance.IsChangeAllowed(sender, _
taskId, beforeProperties, afterProperties, _
executorLogon, reason)
public bool IsChangeAllowed(
Object sender,
Guid taskId,
SPWorkflowTaskProperties beforeProperties,
SPWorkflowTaskProperties afterProperties,
string executorLogon,
out string reason
)
Parameters
- sender
Type: System.Object
- taskId
Type: System.Guid
- beforeProperties
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties
- afterProperties
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties
- executorLogon
Type: System.String
- reason
Type: System.String
Return Value
Type: System.Boolean