OfficeTask.IsTaskCompleted Method
Namespace: Microsoft.Office.Workflow.Actions
Assembly: Microsoft.Office.Workflow.Actions (in Microsoft.Office.Workflow.Actions.dll)
Syntax
'Declaration
Protected Overridable Function IsTaskCompleted ( _
context As ActivityExecutionContext, _
taskId As Guid, _
creationProperties As SPWorkflowTaskProperties, _
afterProperties_extendedProperties As Hashtable, _
executor As String, _
<OutAttribute> ByRef outcome As String _
) As Boolean
'Usage
Dim context As ActivityExecutionContext
Dim taskId As Guid
Dim creationProperties As SPWorkflowTaskProperties
Dim afterProperties_extendedProperties As Hashtable
Dim executor As String
Dim outcome As String
Dim returnValue As Boolean
returnValue = Me.IsTaskCompleted(context, _
taskId, creationProperties, afterProperties_extendedProperties, _
executor, outcome)
protected virtual bool IsTaskCompleted(
ActivityExecutionContext context,
Guid taskId,
SPWorkflowTaskProperties creationProperties,
Hashtable afterProperties_extendedProperties,
string executor,
out string outcome
)
Parameters
- context
Type: System.Workflow.ComponentModel.ActivityExecutionContext
- taskId
Type: System.Guid
- creationProperties
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties
- afterProperties_extendedProperties
Type: System.Collections.Hashtable
- executor
Type: System.String
- outcome
Type: System.String
Return Value
Type: System.Boolean
Returns Boolean.