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)

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Delegate Sub ErrorOccurredEventHandler ( _
    sender As Object, _
    e As ToolPane.ErrorEventArgs _
)
'Usage
Dim instance As New ErrorOccurredEventHandler(AddressOf HandlerMethod)
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public delegate void ErrorOccurredEventHandler(
    Object sender,
    ToolPane.ErrorEventArgs e
)

Parameters

Remarks

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

Reference

Microsoft.SharePoint.WebPartPages namespace