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 | |
---|---|---|
UtilityException() () () () | Initializes a new, default instance of the UtilityException class with the default property values. | |
UtilityException(String) | Initializes a new, default instance of the UtilityException class with the specified error message. | |
UtilityException(SerializationInfo, StreamingContext) | Initializes a new, default instance of the UtilityException class with serialized data. | |
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 | |
---|---|---|
Data | (Geerbt von Exception.) | |
HelpLink | Gets a link to the SQL Server Help Web site. (Überschreibt Exception. . :: . .HelpLink.) | |
HResult | (Geerbt von Exception.) | |
InnerException | (Geerbt von Exception.) | |
Message | (Geerbt von Exception.) | |
ProdVer | Gets the product version of SQL Server. | |
Source | (Geerbt von Exception.) | |
StackTrace | (Geerbt von Exception.) | |
TargetSite | (Geerbt von Exception.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetBaseException | (Geerbt von Exception.) | |
GetHashCode | (Geerbt von Object.) | |
GetObjectData | (Geerbt von Exception.) | |
GetType | (Geerbt von Exception.) | |
Init | Initializes the exception properties. | |
MemberwiseClone | (Geerbt von Object.) | |
SetHelpContext | Defines the Help context identifier for the exception. | |
ToString | (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.