Freigeben über


UtilityException-Klasse

The UtilityException class defines methods and properties that record utility exception information. It is the base class for all utility exception types.

Vererbungshierarchie

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Utility.UtilityException

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class UtilityException _
    Inherits SqlServerManagementException
'Usage
Dim instance As UtilityException
[SerializableAttribute]
public class UtilityException : SqlServerManagementException
[SerializableAttribute]
public ref class UtilityException : public SqlServerManagementException
[<SerializableAttribute>]
type UtilityException =  
    class 
        inherit SqlServerManagementException 
    end
public class UtilityException extends SqlServerManagementException

Der UtilityException-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode UtilityException() Initializes a new, default instance of the UtilityException class with the default property values.
Öffentliche Methode UtilityException(String) Initializes a new, default instance of the UtilityException class with the specified error message.
Geschützte Methode UtilityException(SerializationInfo, StreamingContext) Initializes a new, default instance of the UtilityException class with serialized data.
Öffentliche Methode UtilityException(String, Exception) Initializes a new, default instance of the UtilityException class with the specified error message and inner exception.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Data (Geerbt von Exception.)
Öffentliche Eigenschaft HelpLink Gets a link to the SQL Server Help Web site. (Überschreibt Exception.HelpLink.)
Öffentliche Eigenschaft HResult (Geerbt von Exception.)
Öffentliche Eigenschaft InnerException (Geerbt von Exception.)
Öffentliche Eigenschaft Message (Geerbt von Exception.)
Geschützte EigenschaftStatisches Element ProdVer Gets the product version of SQL Server.
Öffentliche Eigenschaft Source (Geerbt von Exception.)
Öffentliche Eigenschaft StackTrace (Geerbt von Exception.)
Öffentliche Eigenschaft TargetSite (Geerbt von Exception.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetBaseException (Geerbt von Exception.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetObjectData Sicherheitskritisch (Geerbt von Exception.)
Öffentliche Methode GetType (Geerbt von Exception.)
Geschützte Methode Init Initializes the exception properties.
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode SetHelpContext Defines the Help context identifier for the exception.
Öffentliche Methode ToString (Geerbt von Exception.)

Zum Anfang

Ereignisse

  Name Beschreibung
Geschütztes Ereignis SerializeObjectState (Geerbt von Exception.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Utility-Namespace