Share via


SearchQueryException Class

Provides the base class for Search query exceptions.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.Search.Query.SearchQueryException
      Microsoft.SharePoint.Search.Query.AllNoiseQueryException
      Microsoft.SharePoint.Search.Query.InvalidPropertyException
      Microsoft.SharePoint.Search.Query.QueryContainsOnlyExcludedTermsException
      Microsoft.SharePoint.Search.Query.QueryMalformedException
      Microsoft.SharePoint.Search.Query.ScopeNotFoundException
      Microsoft.SharePoint.Search.Query.SearchServiceNotFoundException

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

Syntax

<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class SearchQueryException _
    Inherits Exception

Dim instance As SearchQueryException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, 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.SharePoint.Search.Query Namespace