This topic has not yet been rated - Rate this topic

ConsoleAction.ShowError Method

Causes the specified exception to display information about the error in the console error display.

Namespace:  Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
public virtual void ShowError(
	Exception e,
	ConsoleError myError
)

Parameters

e
Type: System.Exception
Exception that caused the error message to be displayed.
myError
Type: Microsoft.SharePoint.Publishing.WebControls.ConsoleError
ConsoleError that represents the current error message and options.

When a postback to this ConsoleAction object results in an error, you can use this method to provide useful error information to the current user.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ