Share via


SPMobileUtility.GetErrorMessage method

Returns error message text for the specified HTTP context.

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

Syntax

'Declaration
Public Shared Function GetErrorMessage ( _
    context As HttpContext _
) As String
'Usage
Dim context As HttpContext
Dim returnValue As String

returnValue = SPMobileUtility.GetErrorMessage(context)
public static string GetErrorMessage(
    HttpContext context
)

Parameters

Return value

Type: System.String
A string that contains the text of the error message.

See also

Reference

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace