다음을 통해 공유


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

    A string that contains the error message to be displayed.

See Also

Reference

SPUtility Class

SPUtility Members

TransferToErrorPage Overload

Microsoft.SharePoint.Utilities Namespace