Dela via


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
Public method ReplicationAgentContainerException() Creates a new instance of the ReplicationAgentContainerException class.
Public method ReplicationAgentContainerException(String) Creates a new instance of the ReplicationAgentContainerException class with a specified error message.
Protected method ReplicationAgentContainerException(SerializationInfo, StreamingContext) Creates a new instance of the ReplicationAgentContainerException class with specified information and context..
Public method 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
Public property Data (Inherited from Exception.)
Public property ExceptionCollection Gets the collection of exception objects returned by the replication agent.
Public property FlatExceptionCollection Gets the collection of exception objects accessed using the IEnumerable interface.
Public property HelpLink (Inherited from Exception.)
Public property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property MessageCode Gets the error code of the underlying error. (Inherited from ReplicationAgentException.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Sets the specified SerializationInfo with information about the exception. (Overrides ReplicationAgentException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Events

  Name Description
Protected event 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.

See Also

Reference

Microsoft.SqlServer.Replication Namespace