Partager via


Classe SqlTraceException

The SQLTraceException class represents the general exception raised by the SMO trace objects.

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

Syntaxe

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

Le type SqlTraceException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique SqlTraceException() () () () Initializes a new instance of the SQLTraceException class.
Méthode publique SqlTraceException(String) Initializes a new instance of the SQLTraceException class with the specified message.
Méthode protégée SqlTraceException(SerializationInfo, StreamingContext) Initializes a new instance of the SQLTraceException class with the specified serialization information and the specified streaming context.
Méthode publique SqlTraceException(String, Exception) Initializes a new instance of the SQLTraceException class with the specified message and inner exception.
Méthode publique SqlTraceException(Type, String) Initializes a new instance of the SQLTraceException class with the specified source type and the specified message.
Méthode publique SqlTraceException(Type, String, Exception) Initializes a new instance of the SQLTraceException class with the specified source type, message and inner 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é protégée 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 a String value that specifies the product version.
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 (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

Notes

This class represents the main exception class in the SMO trace objects.

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

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.