Classe UtilityException
The UtilityException class defines methods and properties that record utility exception information. It is the base class for all utility exception types.
Gerarchia di ereditarietà
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Utility..::..UtilityException
Spazio dei nomi Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Sintassi
'Dichiarazione
<SerializableAttribute> _
Public Class UtilityException _
Inherits SqlServerManagementException
'Utilizzo
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
Nel tipo UtilityException sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
![]() |
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. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
Data | Ereditato da Exception. |
![]() |
HelpLink | Gets a link to the SQL Server Help Web site. Esegue l'override di Exception. . :: . .HelpLink. |
![]() |
HResult | Ereditato da Exception. |
![]() |
InnerException | Ereditato da Exception. |
![]() |
Message | Ereditato da Exception. |
![]() ![]() |
ProdVer | Gets the product version of SQL Server. |
![]() |
Source | Ereditato da Exception. |
![]() |
StackTrace | Ereditato da Exception. |
![]() |
TargetSite | Ereditato da Exception. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
Equals | Ereditato da Object. |
![]() |
Finalize | Ereditato da Object. |
![]() |
GetBaseException | Ereditato da Exception. |
![]() |
GetHashCode | Ereditato da Object. |
![]() |
GetObjectData | Ereditato da Exception. |
![]() |
GetType | Ereditato da Exception. |
![]() |
Init | Initializes the exception properties. |
![]() |
MemberwiseClone | Ereditato da Object. |
![]() |
SetHelpContext | Defines the Help context identifier for the exception. |
![]() |
ToString | 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.