Класс ReplicationAgentContainerException

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

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Replication (в Microsoft.SqlServer.Replication.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class ReplicationAgentContainerException _
    Inherits ReplicationAgentException
'Применение
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

Тип ReplicationAgentContainerException обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ReplicationAgentContainerException() Creates a new instance of the ReplicationAgentContainerException class.
Открытый метод ReplicationAgentContainerException(String) Creates a new instance of the ReplicationAgentContainerException class with a specified error message.
Защищенный метод ReplicationAgentContainerException(SerializationInfo, StreamingContext) Creates a new instance of the ReplicationAgentContainerException class with specified information and context..
Открытый метод 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.

В начало

Свойства

  Имя Описание
Открытое свойство Data (Производный от Exception.)
Открытое свойство ExceptionCollection Gets the collection of exception objects returned by the replication agent.
Открытое свойство FlatExceptionCollection Gets the collection of exception objects accessed using the IEnumerable interface.
Открытое свойство HelpLink (Производный от Exception.)
Открытое свойство HResult (Производный от Exception.)
Открытое свойство InnerException (Производный от Exception.)
Открытое свойство Message (Производный от Exception.)
Открытое свойство MessageCode Gets the error code of the underlying error. (Производный от ReplicationAgentException.)
Открытое свойство Source (Производный от Exception.)
Открытое свойство StackTrace (Производный от Exception.)
Открытое свойство TargetSite (Производный от Exception.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetBaseException (Производный от Exception.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetObjectData Sets the specified SerializationInfo with information about the exception. (Переопределяет ReplicationAgentException.GetObjectData(SerializationInfo, StreamingContext).)
Открытый метод GetType (Производный от Exception.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Exception.)

В начало

События

  Имя Описание
Защищенное событие SerializeObjectState (Производный от Exception.)

В начало

Замечания

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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Replication