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)


Public ReadOnly Property WebPartException As Exception
Dim instance As DataFormWebPart
Dim value As Exception

value = instance.WebPartException
public Exception WebPartException { get; }

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.

See also


DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace