다음을 통해 공유


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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property WebPartException As Exception
    Get
'Usage
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.

Remarks

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

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace