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
)
參數
- title
Type: System.String
- message
Type: System.String
- linkText
Type: System.String
- linkUri
Type: System.Uri
- isDetailsShown
Type: System.Boolean
- context
Type: System.Web.HttpContext