OfficeTask properties

The OfficeTask type exposes the following members.

Properties

  Name Description
Public property __ActivationProperties A activation properties for this OfficeTask's workflow. This property is recommended to be set.
Public property __Context An optional WorkflowContext for this OfficeTask. Binding this property is reccomended.
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 A container of all of the initial stages for this OfficeTask.
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 A string form of the CC property in the format of Microsoft.Office.Workflow.Utility.Contact XML
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 Correct CultureInfo to use for UI this OfficeTask process
Protected property CurrentWeb The SPWeb of this workflow, with its Site.CurrentUser set according to impersonation settings in the workflow
Public property DeletedTaskCount The number of deleted tasks for this OfficeTask process
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 The SPListItem indicated by this OfficeTask's ItemId property
Public property ItemCreatedBy loginName of the SPUser who created the item for this OfficeTask process
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 loginName of the SPUser who last modified the item for this OfficeTask process
Public property ItemTitle encoded title property of the SPListItem for this OfficeTask process
Public property ItemTitleNotEncoded unencoded title property of the SPListItem for this OfficeTask process
Public property ItemURL encoded web-relative URL for the item for this OfficeTask process
Protected property List The SPList indicated by this OfficeTask's ListId property
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 A list of outcomes for all tasks in this process, in the form of "display1,outcome1;display2,outcome2"
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 A list of display name of each participant. This is delimited as if it were a multi-user lookup e.g."1;#John Doe;#2;#Jane Roe;#3;#FrontPage Lab Account"
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 an SPWeb created from an SPSite impersonated as the process account
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 Bind to check if this task process has been canceled
Public property TaskResults Returns the results of a task process.
Public property UserData (Inherited from DependencyObject.)
Public property WebURL The full url pointing to the web. e.g."http://www.fabrikam.com:8080/foo/bar" or "http://www.fabrikam.com/foo/bar"
Protected property WorkflowInstanceId (Inherited from Activity.)

Top

See also

Reference

OfficeTask class

Microsoft.Office.Workflow.Actions namespace