ReplicationAgentContainerException Class
The exception that is thrown when one or more errors are generated by a managed code-based replication agent.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.SqlServer.Replication.ReplicationAgentException
Microsoft.SqlServer.Replication.ReplicationAgentContainerException
Microsoft.SqlServer.Replication.ReplicationAgentContainerWithWatsonException
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Syntax
'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class ReplicationAgentContainerException _
Inherits ReplicationAgentException
'Usage
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
The ReplicationAgentContainerException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from 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 | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
MessageCode | Gets the error code of the underlying error. (Inherited from ReplicationAgentException.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Sets the specified SerializationInfo with information about the exception. (Overrides ReplicationAgentException.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Exception.) |
Top
Events
Name | Description | |
---|---|---|
SerializeObjectState | (Inherited from Exception.) |
Top
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.