CancelApprovalCommandHandler.SetGenericErrorMessage method

Inserts markup into the ECMAScript (JScript, JavaScript) of the page or in the callback function that called this handler that provides an error message.

Overload list

  Name Description
Public method SetGenericErrorMessage(Exception) Inserts markup into the ECMAScript (JScript, JavaScript) of the page or in the callback function that called this handler that provides a generic error message based on the information provided in the e parameter. (Inherited from SPRibbonCommandHandler.)
Public method SetGenericErrorMessage(String) Inserts markup into the ECMAScript (JScript, JavaScript) of the page or in the callback function that called this handler that provides a unique error message. (Inherited from SPRibbonCommandHandler.)

Top

See also

Reference

CancelApprovalCommandHandler class

CancelApprovalCommandHandler members

Microsoft.SharePoint.WebControls namespace