共用方式為


SPMobileUtility.GetErrorMessage method

傳回指定的 HTTP 內容的錯誤訊息文字。

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

Syntax

'宣告
Public Shared Function GetErrorMessage ( _
    context As HttpContext _
) As String
'用途
Dim context As HttpContext
Dim returnValue As String

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

參數

傳回值

Type: System.String
字串,包含錯誤訊息的文字。

請參閱

參照

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace