Condividi tramite


QueryContainsOnlyExcludedTermsException Class

Represents the exception that is thrown when the search query contains only excluded terms.

Inheritance Hierarchy

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

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

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

QueryContainsOnlyExcludedTermsException Members

Microsoft.Office.Server.Search.Query Namespace