CancelApprovalWorkflowRequestAction Class
Cancels workflow page submissions.
Inheritance Hierarchy
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions.ConsoleAction
Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions.CancelApprovalWorkflowRequestAction
Namespace: Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class CancelApprovalWorkflowRequestAction _
Inherits ConsoleAction
'Usage
Dim instance As CancelApprovalWorkflowRequestAction
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class CancelApprovalWorkflowRequestAction : ConsoleAction
Remarks
The CancelApprovalWorkflowRequestAction class cancels the current approved workflow. If no approved workflow is associated with the list, the alternate CancelApprovalRequestAction is used instead.
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
CancelApprovalWorkflowRequestAction Members
Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions Namespace