Partager 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

<CorrelationAliasAttribute("taskId", "e.taskId")> _
Event OnTaskChanged As EventHandler(Of SPTaskServiceEventArgs)

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