Compartir a través de


Clase UtilityException

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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Management.Utility
Ensamblado:  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Sintaxis

'Declaración
<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

El tipo UtilityException expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público UtilityException() () () () Initializes a new, default instance of the UtilityException class with the default property values.
Método público UtilityException(String) Initializes a new, default instance of the UtilityException class with the specified error message.
Método protegido UtilityException(SerializationInfo, StreamingContext) Initializes a new, default instance of the UtilityException class with serialized data.
Método público UtilityException(String, Exception) Initializes a new, default instance of the UtilityException class with the specified error message and inner exception.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Data (Se hereda de Exception.)
Propiedad pública HelpLink Gets a link to the SQL Server Help Web site. (Invalida Exception. . :: . .HelpLink.)
Propiedad protegida HResult (Se hereda de Exception.)
Propiedad pública InnerException (Se hereda de Exception.)
Propiedad pública Message (Se hereda de Exception.)
Propiedad protegidaMiembro estático ProdVer Gets the product version of SQL Server.
Propiedad pública Source (Se hereda de Exception.)
Propiedad pública StackTrace (Se hereda de Exception.)
Propiedad pública TargetSite (Se hereda de Exception.)

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetBaseException (Se hereda de Exception.)
Método público GetHashCode (Se hereda de Object.)
Método público GetObjectData (Se hereda de Exception.)
Método público GetType (Se hereda de Exception.)
Método protegido Init Initializes the exception properties.
Método protegido MemberwiseClone (Se hereda de Object.)
Método protegido SetHelpContext Defines the Help context identifier for the exception.
Método público ToString (Se hereda de Exception.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.