Compartir a través de


Clase ReplicationAgentContainerException

The exception that is thrown when one or more errors are generated by a managed code-based replication agent.

Jerarquía de herencia

System.Object
  System.Exception
    Microsoft.SqlServer.Replication.ReplicationAgentException
      Microsoft.SqlServer.Replication.ReplicationAgentContainerException
        Microsoft.SqlServer.Replication.ReplicationAgentContainerWithWatsonException

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

Sintaxis

'Declaración
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class ReplicationAgentContainerException _
    Inherits ReplicationAgentException
'Uso
Dim instance As ReplicationAgentContainerException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class ReplicationAgentContainerException : ReplicationAgentException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ReplicationAgentContainerException : public ReplicationAgentException
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type ReplicationAgentContainerException =  
    class 
        inherit ReplicationAgentException 
    end
public class ReplicationAgentContainerException extends ReplicationAgentException

El tipo ReplicationAgentContainerException expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público ReplicationAgentContainerException() Creates a new instance of the ReplicationAgentContainerException class.
Método público ReplicationAgentContainerException(String) Creates a new instance of the ReplicationAgentContainerException class with a specified error message.
Método protegido ReplicationAgentContainerException(SerializationInfo, StreamingContext) Creates a new instance of the ReplicationAgentContainerException class with specified information and context..
Método público ReplicationAgentContainerException(String, Exception) Creates a new instance of the ReplicationAgentContainerException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Data (Se hereda de Exception.)
Propiedad pública ExceptionCollection Gets the collection of exception objects returned by the replication agent.
Propiedad pública FlatExceptionCollection Gets the collection of exception objects accessed using the IEnumerable interface.
Propiedad pública HelpLink (Se hereda de Exception.)
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 pública MessageCode Gets the error code of the underlying error. (Se hereda de ReplicationAgentException.)
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 Sets the specified SerializationInfo with information about the exception. (Invalida ReplicationAgentException.GetObjectData(SerializationInfo, StreamingContext).)
Método público GetType (Se hereda de Exception.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Exception.)

Arriba

Eventos

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

Arriba

Comentarios

The ReplicationAgentContainerException class contains a collection of underlying errors collected by an agent.

This exception is thrown when errors are encountered by the Snapshot Agent.

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.Replication