SPMobileUtility.SetErrorMessage method
Specifies error message text for the specified HTTP context.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub SetErrorMessage ( _
context As HttpContext, _
message As String _
)
'Usage
Dim context As HttpContext
Dim message As StringSPMobileUtility.SetErrorMessage(context, message)
public static void SetErrorMessage(
HttpContext context,
string message
)
Parameters
context
Type: System.Web.HttpContextAn HttpContext object that provides access to HTTP-specific information about an individual HTTP request.
message
Type: System.StringA string that contains the text of the error message.