SearchException Constructor

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

Initializes a new instance of the SearchException class.

Overload List

  Name Description
Aa511850.pubmethod(en-US,CS.70).gif SearchException()()() Initializes a new instance of the SearchException class.
Aa511850.pubmethod(en-US,CS.70).gif SearchException(String) Initializes a new instance of the SearchException class with the specified error message.
Aa511850.protmethod(en-US,CS.70).gif SearchException(SerializationInfo, StreamingContext) Initializes a new instance of the SearchException class with the specified serialization and streaming context information.
Aa511850.pubmethod(en-US,CS.70).gif SearchException(String, Exception) Initializes a new instance of the SearchException class with a specified error message and exception that is the cause of this exception.

Top

Remarks

This exception is thrown when a search fails.

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.

See Also

Reference

SearchException Class

SearchException Members

Microsoft.CommerceServer Namespace