Share via


DataFormWebPart.HandleRuntimeException Method

Handles the specified runtime exception.

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

Syntax

'Declaration
Protected Overridable Function HandleRuntimeException ( _
    ex As Exception _
) As Boolean
'Usage
Dim ex As Exception
Dim returnValue As Boolean

returnValue = Me.HandleRuntimeException(ex)
protected virtual bool HandleRuntimeException(
    Exception ex
)

Parameters

Return Value

Type: System.Boolean
true if the exception is handled in this method; otherwise, false.

Remarks

This virtual method always returns false.

This virtual method can be implemented in a subclass to handle ex in a special manner.

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace