QueryMalformedException - Classe

Représente l'exception qui est levée lors d'une requête de recherche n'est pas correct.

Hiérarchie d’héritage

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

Espace de noms :  Microsoft.Office.Server.Search.Query
Assembly :  Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class QueryMalformedException _
    Inherits SearchQueryException
'Utilisation
Dim instance As QueryMalformedException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class QueryMalformedException : SearchQueryException

Remarques

Cette exception peut se produire si la requête contient une erreur de syntaxe, ou si un nom de propriété non valide est spécifié.

Cohérence de thread

Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.

Voir aussi

Référence

QueryMalformedException - Membres

Microsoft.Office.Server.Search.Query - Espace de noms