Classe XEventException

Base exception class for all XEventException classes.

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public Class XEventException _
    Inherits SqlServerManagementException
'Utilizzo
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

Nel tipo XEventException sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico XEventException() Initializes a new instance of the XEventException class.
Metodo pubblico XEventException(String) Initializes a new instance of the XEventException class with a specified message that describes the error.
Metodo protetto XEventException(SerializationInfo, StreamingContext) Initializes a new instance of the XEventException class with serialized data.
Metodo pubblico 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.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Data Ereditato da Exception.
Proprietà pubblica HelpLink Gets a link to the help web site for an XEventException object. Esegue l'override di Exception.HelpLink.
Proprietà pubblica HResult Ereditato da Exception.
Proprietà pubblica InnerException Ereditato da Exception.
Proprietà pubblica Message Ereditato da Exception.
Proprietà protettaMembro statico ProdVer Gets the product version of an XEventException object.
Proprietà pubblica Source Ereditato da Exception.
Proprietà pubblica StackTrace Ereditato da Exception.
Proprietà pubblica TargetSite Ereditato da Exception.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetBaseException Ereditato da Exception.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetObjectData Criticità per la sicurezza. Ereditato da Exception.
Metodo pubblico GetType Ereditato da Exception.
Metodo protetto Init Initializes the properties of an instance of the XEventException class.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo protetto SetHelpContext Sets help context for an instance of the XEventException class.
Metodo pubblico ToString Ereditato da Exception.

In alto

Eventi

  Nome Descrizione
Evento protetto SerializeObjectState Ereditato da Exception.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.XEvent