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)


<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Delegate Sub ErrorOccurredEventHandler ( _
    sender As Object, _
    e As ToolPane.ErrorEventArgs _
Dim instance As New ErrorOccurredEventHandler(AddressOf HandlerMethod)
[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.

See also


Microsoft.SharePoint.WebPartPages namespace