ToolPane.ErrorOccurredEventHandler Delegate

Represents the method that handles the ErrorOccurred event of the ToolPane class.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public delegate void ErrorOccurredEventHandler(
	Object sender,
	ToolPane.ErrorEventArgs e

When you create an ErrorOccurredEventHandler delegate, you identify the method that handles the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.