Partager via


InvalidSearchHandleException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidSearchHandleException class with the specified serialization and streaming context information.

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

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New InvalidSearchHandleException(info, context)
protected InvalidSearchHandleException(
    SerializationInfo info,
    StreamingContext context
)
protected:
InvalidSearchHandleException(
    SerializationInfo^ info, 
    StreamingContext context
)
protected function InvalidSearchHandleException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

Remarks

The InvalidSearchHandleException derives from the SearchException, which is the exception that is thrown when a search fails. The InvalidSearchHandleException is thrown because you are using an invalid handle to a SpecificationSearch object.

Permissions

See Also

Reference

InvalidSearchHandleException Class

InvalidSearchHandleException Members

InvalidSearchHandleException Overload

Microsoft.CommerceServer.Catalog Namespace