Export (0) Print
Expand All

DataFormWebPart.WebPartException property

Gets information about an exception associated with the current Data Form Web Part.

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

'Declaration
Public ReadOnly Property WebPartException As Exception
	Get
'Usage
Dim instance As DataFormWebPart
Dim value As Exception

value = instance.WebPartException

Property value

Type: System.Exception
An exception object describing the exception that occurred during the transform.

After the transform fails, the information that this exception contains may be used to display the appropriate error messages or other user interface elements or to perform other appropriate actions. When the transform fails, an exception normally occurs.

Community Additions

Show:
© 2014 Microsoft