SPUtility.TransferToErrorPage Method (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 _
)
'Usage
Dim message As StringSPUtility.TransferToErrorPage(message)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public static void TransferToErrorPage(
string message
)
Parameters
message
Type: System.StringA string that contains the error message to be displayed.