共用方式為


SPUtility.TransferToErrorPage method (String, String, String)

進行要求傳送至Microsoft SharePoint Foundation錯誤頁面。

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

Syntax

'宣告
Public Shared Sub TransferToErrorPage ( _
    message As String, _
    linkText As String, _
    linkUrl As String _
)
'用途
Dim message As String
Dim linkText As String
Dim linkUrl As StringSPUtility.TransferToErrorPage(message, _
    linkText, linkUrl)
public static void TransferToErrorPage(
    string message,
    string linkText,
    string linkUrl
)

參數

  • message
    Type: System.String

    字串,包含要顯示的錯誤訊息。

  • linkText
    Type: System.String

    包含要顯示錯誤訊息的連結文字字串。

請參閱

參照

SPUtility class

SPUtility members

TransferToErrorPage overload

Microsoft.SharePoint.Utilities namespace