共用方式為


SPUtility.RedirectToErrorPage method

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

Syntax

'宣告
Public Shared Sub RedirectToErrorPage ( _
    title As String, _
    message As String, _
    linkText As String, _
    linkUri As Uri, _
    isDetailsShown As Boolean, _
    context As HttpContext _
)
'用途
Dim title As String
Dim message As String
Dim linkText As String
Dim linkUri As Uri
Dim isDetailsShown As Boolean
Dim context As HttpContextSPUtility.RedirectToErrorPage(title, _
    message, linkText, linkUri, isDetailsShown, _
    context)
public static void RedirectToErrorPage(
    string title,
    string message,
    string linkText,
    Uri linkUri,
    bool isDetailsShown,
    HttpContext context
)

參數

請參閱

參照

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace