OfficeTask Class

The OfficeTask class workflow activity is included with the installation of Microsoft SharePoint Server 2010. It allows the customization of task centric workflows using SharePoint Designer that was not possible in Microsoft Office SharePoint Server 2007. The OfficeTask activity will not be available to users of Microsoft SharePoint Foundation 2010.

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      System.Workflow.ComponentModel.CompositeActivity
        Microsoft.Office.Workflow.Actions.OfficeTask
          Microsoft.Office.Workflow.Actions.ApprovalTaskProcess
          Microsoft.Office.Workflow.Actions.CollectFeedbackTaskProcess
          Microsoft.Office.Workflow.Actions.DocSetContentsTask

Namespace:  Microsoft.Office.Workflow.Actions
Assembly:  Microsoft.Office.Workflow.Actions (in Microsoft.Office.Workflow.Actions.dll)

Syntax

'Declaration
<SerializableAttribute> _
<ActivityValidatorAttribute(GetType(OfficeTaskValidator))> _
Public Class OfficeTask _
    Inherits CompositeActivity _
    Implements IActivityEventListener(Of QueueEventArgs), ISPActivityDetailsSerializable
'Usage
Dim instance As OfficeTask
[SerializableAttribute]
[ActivityValidatorAttribute(typeof(OfficeTaskValidator))]
public class OfficeTask : CompositeActivity, IActivityEventListener<QueueEventArgs>, 
    ISPActivityDetailsSerializable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

OfficeTask Members

Microsoft.Office.Workflow.Actions Namespace