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)

Syntax

'Declaration
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)
public static void TransferToErrorPage(
    string message,
    string linkText,
    string linkUrl
)

Parameters

  • message
    Type: System.String

    A string that contains the error message to be displayed.

  • linkText
    Type: System.String

    A string that contains the link text to be displayed with the error message.

See also

Reference

SPUtility class

SPUtility members

TransferToErrorPage overload

Microsoft.SharePoint.Utilities namespace