Compartilhar via


UpdatePageStateCommandHandler Class

Handles the UpdatePageState command triggered by a client.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebControls.SPRibbonCommandHandler
        Microsoft.SharePoint.WebControls.UpdatePageStateCommandHandler

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Class UpdatePageStateCommandHandler _
    Inherits SPRibbonCommandHandler _
    Implements ICallbackEventHandler
'Usage
Dim instance As UpdatePageStateCommandHandler
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class UpdatePageStateCommandHandler : SPRibbonCommandHandler, 
    ICallbackEventHandler

Remarks

UpdatePageStateCommandHandler is an ASP.NET server control that defines properties and methods in order to configure a client-side command so that when executed, the command refreshes the page state and sends the state back to the client. There is no specific ribbon button for this command handler.

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

UpdatePageStateCommandHandler Members

Microsoft.SharePoint.WebControls Namespace