DataFormWebPart.HandleRuntimeException method

Handles the specified runtime exception.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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