Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Handles the Error event.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Protected Overrides Sub OnError ( _
e As EventArgs _
)
'Usage
Dim e As EventArgs
Me.OnError(e)
protected override void OnError(
EventArgs e
)
Parameters
e
Type: System.EventArgsThe data for the event.
Remarks
This override will show the error message if the exception is SqlException; otherwise, this override does not handle the exception.