Класс 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) | |
![]() |
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.) |
В начало
Замечания
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) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.