Partager via


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

Enterprise Search Query Web Service Overview

Managing Metadata