Classe UtilityException
The UtilityException class defines methods and properties that record utility exception information. It is the base class for all utility exception types.
Hierarquia de herança
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Utility..::..UtilityException
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (em Microsoft.SqlServer.Management.Utility.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public Class UtilityException _
Inherits SqlServerManagementException
'Uso
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
O tipo UtilityException expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
![]() |
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ício
Propriedades
Nome | Descrição | |
---|---|---|
![]() |
Data | (Herdado de Exception.) |
![]() |
HelpLink | Gets a link to the SQL Server Help Web site. (Substitui Exception. . :: . .HelpLink.) |
![]() |
HResult | (Herdado de Exception.) |
![]() |
InnerException | (Herdado de Exception.) |
![]() |
Message | (Herdado de Exception.) |
![]() ![]() |
ProdVer | Gets the product version of SQL Server. |
![]() |
Source | (Herdado de Exception.) |
![]() |
StackTrace | (Herdado de Exception.) |
![]() |
TargetSite | (Herdado de Exception.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
![]() |
Equals | (Herdado de Object.) |
![]() |
Finalize | (Herdado de Object.) |
![]() |
GetBaseException | (Herdado de Exception.) |
![]() |
GetHashCode | (Herdado de Object.) |
![]() |
GetObjectData | (Herdado de Exception.) |
![]() |
GetType | (Herdado de Exception.) |
![]() |
Init | Initializes the exception properties. |
![]() |
MemberwiseClone | (Herdado de Object.) |
![]() |
SetHelpContext | Defines the Help context identifier for the exception. |
![]() |
ToString | (Herdado de Exception.) |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.