PublishCommandHandler Constructor
Initializes a new PublishCommandHandler class object that handles the Publish button on the ribbon.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub New ( _
psc As SPPageStateControl _
)
'Usage
Dim psc As SPPageStateControl
Dim instance As New PublishCommandHandler(psc)
public PublishCommandHandler(
SPPageStateControl psc
)
Parameters
psc
Type: Microsoft.SharePoint.WebControls.SPPageStateControlAn SPPageStateControl object that represents this control. This parameter is used for centralized error handling of all the command handlers that deal with the state of the page.