ProcessAllTasksButton class
Displays the Complete All Workflow Tasks button used to process all pending workflow tasks associated with the current Microsoft SharePoint Server 2010 list.
Inheritance hierarchy
System.Object
System.Web.UI.Control
Microsoft.SharePoint.WebControls.MenuItemTemplate
Microsoft.Office.Workflow.Feature.ProcessAllTasksButton
Namespace: Microsoft.Office.Workflow.Feature
Assembly: Microsoft.Office.Workflow.Feature (in Microsoft.Office.Workflow.Feature.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class ProcessAllTasksButton _
Inherits MenuItemTemplate
'Usage
Dim instance As ProcessAllTasksButton
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class ProcessAllTasksButton : MenuItemTemplate
Remarks
The button is only displayed when a decendent of workflow task content type is associated with the current list
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.