Classe XEventException

The exception that is thrown for the QueryableXEvent sources.

Hiérarchie d'héritage

System.Object
  System.Exception
    Microsoft.SqlServer.XEvent.Linq.XEventException
      Microsoft.SqlServer.XEvent.Linq.EventEnumerationException
      Microsoft.SqlServer.XEvent.Linq.EventFileInvalidException
      Microsoft.SqlServer.XEvent.Linq.EventFileIOException
      Microsoft.SqlServer.XEvent.Linq.EventLocationException
      Microsoft.SqlServer.XEvent.Linq.EventStreamException
      Microsoft.SqlServer.XEvent.Linq.EventStreamVersionException
      Microsoft.SqlServer.XEvent.Linq.TypeNotMappedException

Espace de noms :  Microsoft.SqlServer.XEvent.Linq
Assembly :  Microsoft.SqlServer.XEvent.Linq (en Microsoft.SqlServer.XEvent.Linq.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class XEventException _
    Inherits Exception
'Utilisation
Dim instance As XEventException
[SerializableAttribute]
public class XEventException : Exception
[SerializableAttribute]
public ref class XEventException : public Exception
[<SerializableAttribute>]
type XEventException =  
    class 
        inherit Exception 
    end
public class XEventException extends Exception

Le type XEventException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique XEventException() Initializes a new instance of the XEventException class with the default values.
Méthode publique XEventException(String) Initializes a new instance of the XEventException class with a specified error message.
Méthode protégée XEventException(SerializationInfo, StreamingContext) Initializes a new instance of the XEventException class with the specified serialization and context information.
Méthode publique XEventException(String, Exception) Initializes a new instance of the XEventException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Haut de la page

Propriétés

  Nom Description
Propriété publique Data (hérité de Exception.)
Propriété publique HelpLink (hérité de Exception.)
Propriété publique HResult (hérité de Exception.)
Propriété publique InnerException (hérité de Exception.)
Propriété publique Message (hérité de Exception.)
Propriété publique Source (hérité de Exception.)
Propriété publique StackTrace (hérité de Exception.)
Propriété publique TargetSite (hérité de Exception.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetBaseException (hérité de Exception.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetObjectData Informations critiques de sécurité. (hérité de Exception.)
Méthode publique GetType (hérité de Exception.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Exception.)

Haut de la page

Événements

  Nom Description
Événement protégé SerializeObjectState (hérité de Exception.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.XEvent.Linq