Compartilhar via


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.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