InvalidPropertyException class
Represents the exception that is thrown when the search query contains a property that is not valid.
Inheritance hierarchy
System.Object
System.Exception
Microsoft.Office.Server.Search.Query.SearchQueryException
Microsoft.Office.Server.Search.Query.InvalidPropertyException
Namespace: Microsoft.Office.Server.Search.Query
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class InvalidPropertyException _
Inherits SearchQueryException _
Implements ISerializable
'Usage
Dim instance As InvalidPropertyException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class InvalidPropertyException : SearchQueryException,
ISerializable
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
InvalidPropertyException members
Microsoft.Office.Server.Search.Query namespace
Other resources
Building Enterprise Search Queries
Enterprise Search Query Object Model Overview