InvalidPropertyException class

NOTE: This API is now obsolete.

Represents the exception that is thrown when the search query contains a property that is not valid.

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.Search.Query.SearchQueryException
      Microsoft.SharePoint.Search.Query.InvalidPropertyException

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
<SerializableAttribute> _
<ObsoleteAttribute("This class is obsolete.")> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class InvalidPropertyException _
    Inherits SearchQueryException _
    Implements ISerializable
'Usage
Dim instance As InvalidPropertyException
[SerializableAttribute]
[ObsoleteAttribute("This class is obsolete.")]
[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.SharePoint.Search.Query namespace

Other resources

Building Windows SharePoint Services Search Queries

Windows SharePoint Services Search Query Object Model