SPRibbonCommandHandler.SetGenericErrorMessage Method

Include Protected Members
Include Inherited Members

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