OnTaskChanged.AfterProperties Property

Gets or sets an SPWorkflowTaskProperties object that contains the current task property values for any properties that were updated. This includes custom data stored in the Hashtable object returned by the ExtendedProperties property.

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


<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property AfterProperties As SPWorkflowTaskProperties
Dim instance As OnTaskChanged
Dim value As SPWorkflowTaskProperties

value = instance.AfterProperties

instance.AfterProperties = value
public SPWorkflowTaskProperties AfterProperties { get; set; }

Property Value

Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties


This property is empty for tasks that have been deleted.

Task properties can include custom data stored in the System.Hashtable object returned by the ExtendedProperties property.


The SPWorkflowTaskProperties object specified by this property is only used as a container for storing task properties from SharePoint Foundation when the event is fired. Its contents are not synchronized with the task.

See Also


OnTaskChanged Class

OnTaskChanged Members

Microsoft.SharePoint.WorkflowActions Namespace

Other Resources

Workflow Activities for SharePoint Foundation

How SharePoint Foundation Processes Workflow Activities

Workflow Task Forms (SharePoint Foundation)