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
context
Type: System.Web.HttpContextAn HttpContext object providing access to HTTP-specific information about an individual HTTP request.
Return value
Type: System.String
A string that contains the text of the error message.