XlateWorkflow.IsTaskCompleted Method
Returns a Boolean value indicating whether the Translation workflow has completed.
Namespace: Microsoft.Office.Workflow
Assembly: Microsoft.Office.Workflow.Routing (in Microsoft.Office.Workflow.Routing.dll)
Syntax
'Declaration
Public Function IsTaskCompleted ( _
sender As Object, _
taskId As Guid, _
creationProps As SPWorkflowTaskProperties, _
properties As Hashtable, _
executor As String, _
<OutAttribute> ByRef outcome As String _
) As Boolean
'Usage
Dim instance As XlateWorkflow
Dim sender As Object
Dim taskId As Guid
Dim creationProps As SPWorkflowTaskProperties
Dim properties As Hashtable
Dim executor As String
Dim outcome As String
Dim returnValue As Boolean
returnValue = instance.IsTaskCompleted(sender, _
taskId, creationProps, properties, _
executor, outcome)
public bool IsTaskCompleted(
Object sender,
Guid taskId,
SPWorkflowTaskProperties creationProps,
Hashtable properties,
string executor,
out string outcome
)
Parameters
- sender
Type: System.Object
The calling object.
- taskId
Type: System.Guid
A GUID representing the workflow task ID.
- creationProps
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties
An SPWorkflowTaskProperties containing the properties set at the time the task was started.
- properties
Type: System.Collections.Hashtable
A Hashtable object containing the current properties of the workflow task.
- executor
Type: System.String
A
- outcome
Type: System.String
Return Value
Type: System.Boolean
Returns Boolean.