Compartir a través de


SPRibbonCommandHandler.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.
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.

Top

See also

Reference

SPRibbonCommandHandler class

SPRibbonCommandHandler members

Microsoft.SharePoint.WebControls namespace