SearchRecordsPerPageException Constructor (String, Int32, Int32)

Initializes a new instance of the SearchRecordsPerPageException class with a specified error message, a reference to the requested records per page, and the maximum number of records per page.

Namespace:  Microsoft.CommerceServer
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    requestedRecordsPerPage As Integer, _
    maxRecordsPerPage As Integer _
)
'Usage
Dim message As String
Dim requestedRecordsPerPage As Integer
Dim maxRecordsPerPage As Integer

Dim instance As New SearchRecordsPerPageException(message, _
    requestedRecordsPerPage, maxRecordsPerPage)
public SearchRecordsPerPageException(
    string message,
    int requestedRecordsPerPage,
    int maxRecordsPerPage
)
public:
SearchRecordsPerPageException(
    String^ message, 
    int requestedRecordsPerPage, 
    int maxRecordsPerPage
)
public function SearchRecordsPerPageException(
    message : String, 
    requestedRecordsPerPage : int, 
    maxRecordsPerPage : int
)

Parameters

  • message
    Type: System..::.String
    The error message that explains the reason for the exception.
  • requestedRecordsPerPage
    Type: System..::.Int32
    The requested number of records per page.
  • maxRecordsPerPage
    Type: System..::.Int32
    The maximum number of records per page.

Remarks

The exception that is thrown when a search request is made for a number of records per page that is greater than the system configured limit.

Permissions

See Also

Reference

SearchRecordsPerPageException Class

SearchRecordsPerPageException Members

SearchRecordsPerPageException Overload

Microsoft.CommerceServer Namespace