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
)
參數
context
Type: System.Web.HttpContextHttpContext物件,提供有關個別的 HTTP 要求的 HTTP 特有資訊的存取權。
傳回值
Type: System.String
字串,包含錯誤訊息的文字。