Compartir a través de


Clase CollectorException

The CollectorException class is the base class for all data collector exceptions.

Jerarquía de herencia

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Collector.CollectorException

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

Sintaxis

'Declaración
<SerializableAttribute> _
Public Class CollectorException _
    Inherits SqlServerManagementException
'Uso
Dim instance As CollectorException
[SerializableAttribute]
public class CollectorException : SqlServerManagementException
[SerializableAttribute]
public ref class CollectorException : public SqlServerManagementException
[<SerializableAttribute>]
type CollectorException =  
    class 
        inherit SqlServerManagementException 
    end
public class CollectorException extends SqlServerManagementException

El tipo CollectorException expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público CollectorException() Creates an instance of the exception.
Método público CollectorException(String) The error message.
Método público CollectorException(SerializationInfo, StreamingContext) Instantiates an instance of the CollectorException class, passing info and context as parameters.
Método público CollectorException(String, Exception) Creates a collection object and passes the error message and the exception that is causing the error.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Data (Se hereda de Exception.)
Propiedad pública HelpLink Gets the link to the Microsoft SQL Server help web site based on the exception. (Invalida Exception.HelpLink.)
Propiedad pública 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 version of the product.
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 Importante para la seguridad. (Se hereda de Exception.)
Método público GetType (Se hereda de Exception.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método protegido SetHelpContext Sets the help context based on the resource string that is passed.
Método público ToString (Se hereda de Exception.)

Arriba

Eventos

  Nombre Descripción
Evento protegido SerializeObjectState (Se hereda de Exception.)

Arriba

Comentarios

CollectorException inherits from SqlServerManagementException.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

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.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Management.Collector