Partager via


SearchQueryException Class

Provides the base class for SharePoint Enterprise Search query exceptions.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.Search.Query.SearchQueryException
      

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)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SearchQueryException _
    Inherits Exception
'Usage
Dim instance As SearchQueryException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SearchQueryException : Exception

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

SearchQueryException Members

Microsoft.Office.Server.Search.Query Namespace

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.Search.Query.SearchQueryException
      Microsoft.Office.Server.Search.Query.AllNoiseQueryException
      Microsoft.Office.Server.Search.Query.FASTSearchQueryException
      Microsoft.Office.Server.Search.Query.InvalidPropertyException
      Microsoft.Office.Server.Search.Query.QueryContainsOnlyExcludedTermsException
      Microsoft.Office.Server.Search.Query.QueryMalformedException
      Microsoft.Office.Server.Search.Query.RankingModelNotFoundException
      Microsoft.Office.Server.Search.Query.ScopeNotFoundException
      Microsoft.Office.Server.Search.Query.SearchServiceNotFoundException
      Microsoft.Office.Server.Search.Query.TooComplexQueryException
      Microsoft.Office.Server.Search.Query.UnSupportedTopologyException