SPUtility.TransferToErrorPage Method (String, String, String)
Transfers the request to a Microsoft SharePoint Foundation error page.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Shared Sub TransferToErrorPage ( _
message As String, _
linkText As String, _
linkUrl As String _
)
'Usage
Dim message As String
Dim linkText As String
Dim linkUrl As StringSPUtility.TransferToErrorPage(message, _
linkText, linkUrl)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public static void TransferToErrorPage(
string message,
string linkText,
string linkUrl
)
Parameters
message
Type: System.StringA string that contains the error message to be displayed.
linkText
Type: System.StringA string that contains the link text to be displayed with the error message.
linkUrl
Type: System.StringThe link URL.