Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns error message text for the specified HTTP context.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.