OfficeTask Members

Include Protected Members
Include Inherited Members

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.

The OfficeTask type exposes the following members.

Constructors

  Name Description
Public method OfficeTask Creates a new instance of the OfficeTask class.

Top

Properties

  Name Description
Public property __ActivationProperties
Public property __Context
Public property ActiveTaskCount
Public property Activities (Inherited from CompositeActivity.)
Public property AllowChangeRequest Indicates whether a user can request a change to a workflow task.
Public property AllowReassign Indicates whether a user can reassign a workflow task to someone else.
Public property AssignedTaskCount
Public property AssignedTo Returns the names of the people assigned to the tasks in a task process.
Protected property Assignments
Protected property CanModifyActivities (Inherited from CompositeActivity.)
Public property CC Returns an array of user names or e-mail addresses included on the CC line of task process notification e-mail messages.
Public property CCList
Public property Comments Returns the value of the Description field of task list items that are created by the task process.
Public property CompletedTaskCount Returns the number of tasks in the task process that are marked as completed.
Public property ConsolidatedComments
Public property ContentTypeId Returns the value of the ContentTypeId property of the task.
Protected property CurrentUICulture
Protected property CurrentWeb
Public property DeletedTaskCount
Public property DeleteTasksOnComplete Indicates whether the child tasks of the task process should be deleted when they are marked as completed.
Public property Description (Inherited from Activity.)
Protected property DesignMode (Inherited from DependencyObject.)
Public property DueDate Returns the date when child tasks of the task process are due to be completed.
Public property Duration Returns the amount of time from when the task was initially created to when it is due to be completed.
Public property DurationUnit Get or sets an enumeration value that indicates whether the value of the Duration property is counted in days, weeks, or months.
Public property Enabled (Inherited from Activity.)
Public property EnabledActivities (Inherited from CompositeActivity.)
Public property ExecutionResult (Inherited from Activity.)
Public property ExecutionStatus (Inherited from Activity.)
Public property ExpandGroups Indicates whether a task is assigned to each member of a group or to an entire group.
Public property FutureTaskCount
Public property IsDynamicActivity (Inherited from Activity.)
Protected property Item
Public property ItemCreatedBy
Public property ItemExternalURL
Public property ItemId Returns the ID of the of list item that represents the workflow task that the task process is executing against.
Public property ItemModifiedBy
Public property ItemTitle
Public property ItemTitleNotEncoded
Public property ItemURL
Protected property List
Public property ListId Returns the ID of the list that contains the workflow task that the task process is executing against.
Public property Name (Inherited from Activity.)
Public property Outcomes
Public property OverdueRepeat Gets or sets an object that represents the frequency with which OnTaskExpired should run, if the task is past the due date and not yet completed.
Public property OverdueRepeatTimes Gets or sets a value that represents the number of times that OnTaskExpired should be run on the frequency of OverdueRepeat, if the task is past the due date and not yet complete.
Public property Parent (Inherited from Activity.)
Protected property ParentDependencyObject (Inherited from DependencyObject.)
Public property ParticipantList
Public property PermissionSet Returns the set of permissions associated with the workflow task list items that are generated as part of the task process.
Public property QualifiedName (Inherited from Activity.)
Public property SendDefaultTaskNotifications Indicates whether default task notifications are sent for a task created by the task process.
Public property Site (Inherited from DependencyObject.)
Public property Subject Returns the value of the Subject property of a workflow task.
Protected property SuperWeb
Public property TaskDeletedOutcome Gets or sets a value that represents which key in the TaskResults hash table needs to be incremented if a task is deleted.
Public property TaskProcessName Gets or sets the name of the task process.
Public property TaskProcessOwner Returns the name of the owner of the task process.
Public property TaskProcessWasCanceled
Public property TaskResults Returns the results of a task process.
Public property UserData (Inherited from DependencyObject.)
Public property WebURL
Protected property WorkflowInstanceId (Inherited from Activity.)

Top

Methods

  Name Description
Public method AddHandler (Inherited from DependencyObject.)
Protected method AllowEnableModificationUpdateAllTasks
Protected method AllowEnableModificationUpdateReviewers
Protected method AllowEnableWorkflowModificationCancelTaskProcess
Protected method ApplyWorkflowChanges (Inherited from CompositeActivity.)
Protected method AssignNextSetOfTasks
Protected method AssignNextSetOfTasksForCurrentStage
Protected method Cancel (Overrides Activity.Cancel(ActivityExecutionContext).)
Public method Clone (Inherited from Activity.)
Protected method CreateTaskAssignments
Public method Dispose() (Inherited from DependencyObject.)
Protected method Dispose(Boolean) (Overrides CompositeActivity.Dispose(Boolean).)
Protected method EnableModificationUpdateReviewers
Public method Equals (Inherited from Object.)
Protected method Execute (Overrides Activity.Execute(ActivityExecutionContext).)
Protected method Finalize (Inherited from DependencyObject.)
Public method GetActivityByName(String) (Inherited from Activity.)
Public method GetActivityByName(String, Boolean) (Inherited from Activity.)
Public method GetActivityDetails
Public method GetBinding (Inherited from DependencyObject.)
Protected method GetBoundValue (Inherited from DependencyObject.)
Protected method GetDynamicActivities (Inherited from CompositeActivity.)
Public method GetHashCode (Inherited from Object.)
Protected method GetInvocationList<T> (Inherited from DependencyObject.)
Public method GetType (Inherited from Object.)
Public method GetValue (Inherited from DependencyObject.)
Public method GetValueBase (Inherited from DependencyObject.)
Protected method HandleFault (Inherited from CompositeActivity.)
Protected method Initialize (Inherited from CompositeActivity.)
Protected method InitializeProperties (Inherited from DependencyObject.)
Protected method Invoke<T>(EventHandler<T>, T) (Inherited from Activity.)
Protected method Invoke<T>(IActivityEventListener<T>, T) (Inherited from Activity.)
Public method IsBindingSet (Inherited from DependencyObject.)
Protected method IsChangeAllowed
Protected method IsTaskCompleted
Protected method MemberwiseClone (Inherited from Object.)
Public method MetaEquals (Inherited from DependencyObject.)
Protected method MoveToNextStage
Protected method OnActivityChangeAdd (Inherited from CompositeActivity.)
Protected method OnActivityChangeRemove (Inherited from CompositeActivity.)
Protected method OnActivityExecutionContextLoad (Inherited from CompositeActivity.)
Protected method OnActivityExecutionContextUnload (Inherited from CompositeActivity.)
Protected method OnClosed (Inherited from Activity.)
Protected method OnListChanged (Inherited from CompositeActivity.)
Protected method OnListChanging (Inherited from CompositeActivity.)
Protected method OnTaskCanceled
Protected method OnWorkflowChangesCompleted (Inherited from CompositeActivity.)
Protected method RaiseEvent (Inherited from Activity.)
Protected method RaiseGenericEvent<T> (Inherited from Activity.)
Public method RegisterForStatusChange (Inherited from Activity.)
Public method RemoveHandler (Inherited from DependencyObject.)
Public method RemoveProperty (Inherited from DependencyObject.)
Public method Save(Stream) (Inherited from Activity.)
Public method Save(Stream, IFormatter) (Inherited from Activity.)
Public method SetBinding (Inherited from DependencyObject.)
Protected method SetBoundValue (Inherited from DependencyObject.)
Protected method SetReadOnlyPropertyValue (Inherited from DependencyObject.)
Public method SetValue (Inherited from DependencyObject.)
Public method SetValueBase (Inherited from DependencyObject.)
Protected method ShouldDelete
Public method ToString (Inherited from Activity.)
Protected method TrackData(Object) (Inherited from Activity.)
Protected method TrackData(String, Object) (Inherited from Activity.)
Protected method Uninitialize (Inherited from CompositeActivity.)
Public method UnregisterForStatusChange (Inherited from Activity.)

Top

Events

  Name Description
Public event Canceling (Inherited from Activity.)
Public event Closed (Inherited from Activity.)
Public event Compensating (Inherited from Activity.)
Public event Executing (Inherited from Activity.)
Public event Faulting (Inherited from Activity.)
Public event StatusChanged (Inherited from Activity.)

Top

Fields

  Name Description
Public fieldStatic member __ActivationPropertiesProperty Represents a DependencyProperty object that contains the initial properties of the workflow instance as it starts. Initialization properties are stored in an SPWorkflowActivationProperties object exposed by the dependency property.
Public fieldStatic member __ContextProperty Returns a DependencyProperty object that a solution developer can use to promote the context of the task.
Public fieldStatic member AssignedToProperty Returns a DependencyProperty object that a solution developer can use to promote the AssignedTo property of the SharePoint Foundation 2010 list item that is associated with the workflow instance.
Public fieldStatic member CCProperty Returns a DependencyProperty object that a solution developer can use to promote the CC property of the SharePoint Foundation 2010 list item that is associated with the workflow instance.
Public fieldStatic member CommentsProperty Returns a DependencyProperty object that a solution developer can use to promote the Comments property of the SharePoint Foundation 2010 list item that is associated with the workflow instance.
Public fieldStatic member ContentTypeIdProperty A DependencyProperty used to promote the ContentTypeId property of the SharePoint list item associated with the running workflow instance.
Public fieldStatic member DeleteTasksOnCompleteProperty A DependencyProperty used to promote the Boolean DeleteTasksOnComplete property of the SharePoint list item associated with the running workflow instance.
Public fieldStatic member DueDateProperty A DependencyProperty used to promote the DueDate property of the SharePoint list item associated with the running workflow instance.
Public fieldStatic member DurationProperty A DependencyProperty used to promote the Duration property of the SharePoint list item associated with the running workflow instance.
Public fieldStatic member DurationUnitProperty A DependencyProperty used to promote the DurationUnit property of the SharePoint list item associated with the running workflow instance.
Public fieldStatic member ExpandGroupsProperty
Public fieldStatic member ItemIdProperty
Public fieldStatic member ListIdProperty
Public fieldStatic member OutcomesProperty A DependencyProperty used to promote the Outcomes property of the list item associated with the task.
Public fieldStatic member OverdueRepeatProperty
Public fieldStatic member OverdueRepeatTimesProperty
Public fieldStatic member PermissionSetProperty
Public fieldStatic member SendDefaultTaskNotificationsProperty
Public fieldStatic member SubjectProperty
Public fieldStatic member TaskDeletedOutcomeProperty
Public fieldStatic member TaskProcessNameProperty
Public fieldStatic member TaskProcessOwnerProperty

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IActivityEventListener<QueueEventArgs>.OnEvent
Explicit interface implemetationPrivate event IComponent.Disposed (Inherited from DependencyObject.)

Top

See Also

Reference

OfficeTask Class

Microsoft.Office.Workflow.Actions Namespace