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
- context
Type: System.Runtime.Serialization..::.StreamingContext
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
InvalidSearchHandleException Class
InvalidSearchHandleException Members