Classe XEventException

Base exception class for all XEventException classes.

Hiérarchie d'héritage

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.XEvent.XEventException

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

Syntaxe

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

Le type XEventException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique XEventException() Initializes a new instance of the XEventException class.
Méthode publique XEventException(String) Initializes a new instance of the XEventException class with a specified message that describes the error.
Méthode protégée XEventException(SerializationInfo, StreamingContext) Initializes a new instance of the XEventException class with serialized data.
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 Gets a link to the help web site for an XEventException object. (remplace Exception.HelpLink.)
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é protégéeMembre statique ProdVer Gets the product version of an XEventException object.
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 Init Initializes the properties of an instance of the XEventException class.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode protégée SetHelpContext Sets help context for an instance of the XEventException class.
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.Management.XEvent