Share via


ITaskService.OnTaskChanged event

Raised when the properties of a workflow task are changed.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<CorrelationAliasAttribute("taskId", "e.taskId")> _
Event OnTaskChanged As EventHandler(Of SPTaskServiceEventArgs)
'Usage
Dim instance As ITaskService
Dim handler As EventHandler(Of SPTaskServiceEventArgs)

AddHandler instance.OnTaskChanged, handler
[CorrelationAliasAttribute("taskId", "e.taskId")]
event EventHandler<SPTaskServiceEventArgs> OnTaskChanged

Remarks

You can add an OnTaskChanged workflow activity to your workflow to respond to this event.

When the ITaskService service raises an event, the event parameters are contained in the SPTaskServiceEventArgs class.

See also

Reference

ITaskService interface

ITaskService members

Microsoft.SharePoint.Workflow namespace