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.SharePoint.Search.Query.SearchQueryException
      Microsoft.SharePoint.Search.Query.InvalidPropertyException

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

Syntax

<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class InvalidPropertyException _
    Inherits SearchQueryException _
    Implements ISerializable

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.SharePoint.Search.Query Namespace

Other Resources

Building Windows SharePoint Services Search Queries

Windows SharePoint Services Search Query Object Model