Classe ReplicationAgentContainerException

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class ReplicationAgentContainerException _
    Inherits ReplicationAgentException
'Utilizzo
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

Nel tipo ReplicationAgentContainerException sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico ReplicationAgentContainerException() () () () Creates a new instance of the ReplicationAgentContainerException class.
Metodo pubblico ReplicationAgentContainerException(String) Creates a new instance of the ReplicationAgentContainerException class with a specified error message.
Metodo protetto ReplicationAgentContainerException(SerializationInfo, StreamingContext)
Metodo pubblico 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.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Data Ereditato da Exception.
Proprietà pubblica ExceptionCollection Gets the collection of exception objects returned by the replication agent.
Proprietà pubblica FlatExceptionCollection Gets the collection of exception objects accessed using the IEnumerable interface.
Proprietà pubblica HelpLink Ereditato da Exception.
Proprietà protetta HResult Ereditato da Exception.
Proprietà pubblica InnerException Ereditato da Exception.
Proprietà pubblica Message Ereditato da Exception.
Proprietà pubblica MessageCode Gets the error code of the underlying error. Ereditato da ReplicationAgentException.
Proprietà pubblica Source Ereditato da Exception.
Proprietà pubblica StackTrace Ereditato da Exception.
Proprietà pubblica TargetSite Ereditato da Exception.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetBaseException Ereditato da Exception.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetObjectData Sets the specified SerializationInfo with information about the exception. Esegue l'override di ReplicationAgentException. . :: . .GetObjectData(SerializationInfo, StreamingContext).
Metodo pubblico GetType Ereditato da Exception.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Exception.

In alto

Osservazioni

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.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.