Jaa


SearchPageNumberException Class

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The exception that is thrown when a paged search is executed and no records are contained in the requested page.

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

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class SearchPageNumberException _
    Inherits SearchException _
    Implements ISerializable
'Usage
Dim instance As SearchPageNumberException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class SearchPageNumberException : SearchException, ISerializable
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class SearchPageNumberException : public SearchException, 
    ISerializable
public class SearchPageNumberException extends SearchException implements ISerializable

Remarks

SearchPageNumberException is raised when a paged search is executed and no records are contained in the requested page.

A paged search is a search that returns one page of records (that is. Page 3 of 10, not all matching records.). SearchPageNumberException is thrown if you ask for a page that does not exist (that is. Page 15 of 10). However, if you make a request for page 1, this exception will not be thrown.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer..::.SearchException
      Microsoft.CommerceServer.Marketing..::.SearchPageNumberException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SearchPageNumberException Members

Microsoft.CommerceServer.Marketing Namespace