WorkflowContext Members
Include Protected Members
Include Inherited Members
Provides detailed information about a specified workflow instance.
The WorkflowContext type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WorkflowContext | Initializes a new instance of the WorkflowContext class. |
Top
Properties
Name | Description | |
---|---|---|
AllowDefaultContentApproval | Gets a value that indicates whether the workflow can be started automatically when the user approves the publishing of a major version of a list item. | |
AllowManual | Gets a value that indicates whether the workflow can be started manually. | |
AssociationTitle | Gets the name of the workflow association associated with the workflow context. | |
AssociatorUser | Gets the author of the workflow association associated with the workflow context. | |
AutoStartChange | Gets a value that indicates whether the workflow is started when an item is changed. | |
AutoStartCreate | Gets a value that indicates whether the workflow is started when an item is created. | |
CurrentItemUrl | Gets the absolute URL of the list item on which the workflow was created. | |
CurrentWebUrl | Gets the URL of the SharePoint 2010 website on which the workflow instance is located. | |
InitiatorUser | Gets the originator of the current workflow instance. | |
ItemId | Gets the identifier of the list item on which the workflow instance is running. | |
ItemName | Gets the name of the list item on which the workflow instance was created. | |
LastRunDateTime | Gets the Coordinated Universal Time (UTC) date and time of the last modification to the workflow instance. | |
ListId | Gets the identifier of the list that contains the list item on which the workflow instance is running. | |
PermissionsManual | Gets a value that indicates whether the current user has the permissions to manually start the workflow on the website. | |
Site | The SPSite object that is associated with a specified workflow. | |
StartedDateTime | Gets the UTC date and time when the workflow instance was created. | |
TaskListGuid | Gets the globally unique identifier (GUID) of the task list associated with the workflow context. | |
Web | The SPWeb that is associated with a specified workflow. | |
WorkflowInstanceId | Gets the globally unique identifier (GUID) of the current workflow instance. | |
WorkflowStatusUrl | Gets the absolute URL of the status page for the workflow instance. | |
WorkflowWebProvider | Gets or sets an object that provides access to the website and user role for the workflow instance. |
Top
Methods
Name | Description | |
---|---|---|
CacheFieldValue | Field value that is written to the cache before it is committed to the database. | |
CacheNoLongerMatches | Used to determine if a cached value is still valid and whether it has been updated in the database. | |
CacheUnsavedListItem | Caches an unsaved list item before it is committed to the database. | |
Dispose | Disposes of the Windows SharePoint Services 3.0 objects that were created by the workflow. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetListItem(SPList, SPItemKey) | Retrieves the cached version of a specified SPListItem with a key. | |
GetListItem(SPList, Int32) | Retrieves the cached version of a specified SPListItem with the specified parameters. | |
GetMatchFromCache | Iterates through expired cache values and returns the first match found. | |
GetType | (Inherited from Object.) | |
Initialize(SPWorkflowActivationProperties) | Initializes the workflow context based on specified activation properties. | |
Initialize(SPWorkflowActivationProperties, IWorkflowWebProvider) | Initializes the workflow context based on a specified web hosting provider and activation properties. | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top