Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ReplicationAgentContainerException Class

Topic Status: Some information in this topic is pre-release and subject to change in future releases. Pre-release information describes new features or changes to existing features in Microsoft SQL Server 2014.

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


Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

public class ReplicationAgentContainerException : ReplicationAgentException

The ReplicationAgentContainerException type exposes the following members.

Public methodReplicationAgentContainerException()Creates a new instance of the ReplicationAgentContainerException class.
Public methodReplicationAgentContainerException(String)Creates a new instance of the ReplicationAgentContainerException class with a specified error message.
Protected methodReplicationAgentContainerException(SerializationInfo, StreamingContext)Creates a new instance of the ReplicationAgentContainerException class with specified information and context..
Public methodReplicationAgentContainerException(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.

Public propertyData (Inherited from Exception.)
Public propertyExceptionCollectionGets the collection of exception objects returned by the replication agent.
Public propertyFlatExceptionCollectionGets the collection of exception objects accessed using the IEnumerable interface.
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertyMessageCodeGets the error code of the underlying error. (Inherited from ReplicationAgentException.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataSets the specified SerializationInfo with information about the exception. (Overrides ReplicationAgentException.GetObjectData(SerializationInfo, StreamingContext).)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)

Protected eventSerializeObjectState (Inherited from 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2015 Microsoft