BusinessDataDetailsWebPartMobileAdapter.ConstructErrorMessage Method

Converts the specified exception into an error.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Protected Function ConstructErrorMessage ( _
    ex As Exception, _
    execution As Boolean _
) As String
'Usage
Dim ex As Exception
Dim execution As Boolean
Dim returnValue As String

returnValue = Me.ConstructErrorMessage(ex, _
    execution)
protected string ConstructErrorMessage(
    Exception ex,
    bool execution
)

Parameters

  • execution
    Type: System.Boolean
    true to be an execution exception; otherwise, false.

Return Value

Type: System.String
A string that contains the information about the specified exception.

Remarks

The exception is converted by this method to an error message and can be thrown during the process of rendering the contents of the BusinessDataDetailsWebPart to a summary view.

See Also

Reference

BusinessDataDetailsWebPartMobileAdapter Class

BusinessDataDetailsWebPartMobileAdapter Members

Microsoft.SharePoint.Portal.WebControls Namespace