InvalidSearchOptionException Class

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

The exception that is thrown when a search is attempted with invalid search options.

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class InvalidSearchOptionException _
    Inherits SearchException
'Usage
Dim instance As InvalidSearchOptionException
[SerializableAttribute]
public class InvalidSearchOptionException : SearchException
[SerializableAttribute]
public ref class InvalidSearchOptionException : public SearchException
public class InvalidSearchOptionException extends SearchException

Remarks

The InvalidSearchOptionException derives from the SearchException, which is the exception that is thrown when a search fails. The InvalidSearchOptionException is thrown because you are using an invalid option.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer..::.SearchException
      Microsoft.CommerceServer.Catalog..::.InvalidSearchOptionException

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

InvalidSearchOptionException Members

Microsoft.CommerceServer.Catalog Namespace