QueryMalformedException class

Represents the exception that is thrown when a search query is not formed correctly.


Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class QueryMalformedException _
	Inherits SearchQueryException
Dim instance As QueryMalformedException

This exception can occur if the query contains a syntax error, or if a property name that is not valid is specified.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.