Share via


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

  • message
    Type: System.String

    A string that contains the text of the error message.

See also

Reference

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace