Partager via


Classe ReplicationAgentContainerException

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class ReplicationAgentContainerException _
    Inherits ReplicationAgentException
'Utilisation
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

Le type ReplicationAgentContainerException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ReplicationAgentContainerException() () () () Creates a new instance of the ReplicationAgentContainerException class.
Méthode publique ReplicationAgentContainerException(String) Creates a new instance of the ReplicationAgentContainerException class with a specified error message.
Méthode protégée ReplicationAgentContainerException(SerializationInfo, StreamingContext)
Méthode publique 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.

Haut de la page

Propriétés

  Nom Description
Propriété publique Data (hérité de Exception.)
Propriété publique ExceptionCollection Gets the collection of exception objects returned by the replication agent.
Propriété publique FlatExceptionCollection Gets the collection of exception objects accessed using the IEnumerable interface.
Propriété publique HelpLink (hérité de Exception.)
Propriété protégée HResult (hérité de Exception.)
Propriété publique InnerException (hérité de Exception.)
Propriété publique Message (hérité de Exception.)
Propriété publique MessageCode Gets the error code of the underlying error. (hérité de ReplicationAgentException.)
Propriété publique Source (hérité de Exception.)
Propriété publique StackTrace (hérité de Exception.)
Propriété publique TargetSite (hérité de Exception.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetBaseException (hérité de Exception.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetObjectData Sets the specified SerializationInfo with information about the exception. (remplace ReplicationAgentException. . :: . .GetObjectData(SerializationInfo, StreamingContext).)
Méthode publique GetType (hérité de Exception.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Exception.)

Haut de la page

Notes

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.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.