다음을 통해 공유


SearchException Class

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

This exception is thrown when a search fails.

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

Syntax

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

Remarks

A search failure may be due to various factors including a malformed search clause, the entity being searched is not a searchable entity, the searched property cannot be returned or is not searchable.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer..::.SearchException
      Microsoft.CommerceServer.Catalog..::.InvalidSearchHandleException
      Microsoft.CommerceServer.Catalog..::.InvalidSearchOptionException
      Microsoft.CommerceServer.Marketing..::.SearchPageNumberException
      Microsoft.CommerceServer..::.SearchRecordsPerPageException

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

SearchException Members

Microsoft.CommerceServer Namespace