ReplicationAgentContainerException ReplicationAgentContainerException ReplicationAgentContainerException ReplicationAgentContainerException Class

Definition

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

public ref class ReplicationAgentContainerException : Microsoft::SqlServer::Replication::ReplicationAgentException
[System.Runtime.InteropServices.ComVisible(false)]
public class ReplicationAgentContainerException : Microsoft.SqlServer.Replication.ReplicationAgentException
type ReplicationAgentContainerException = class
    inherit ReplicationAgentException
Public Class ReplicationAgentContainerException
Inherits ReplicationAgentException
Inheritance
ReplicationAgentContainerExceptionReplicationAgentContainerExceptionReplicationAgentContainerExceptionReplicationAgentContainerException
Derived
Attributes

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.

Constructors

ReplicationAgentContainerException() ReplicationAgentContainerException() ReplicationAgentContainerException() ReplicationAgentContainerException()

Creates a new instance of the ReplicationAgentContainerException class.

ReplicationAgentContainerException(SerializationInfo, StreamingContext) ReplicationAgentContainerException(SerializationInfo, StreamingContext) ReplicationAgentContainerException(SerializationInfo, StreamingContext) ReplicationAgentContainerException(SerializationInfo, StreamingContext)

Creates a new instance of the ReplicationAgentContainerException class with specified information and context..

ReplicationAgentContainerException(String) ReplicationAgentContainerException(String) ReplicationAgentContainerException(String) ReplicationAgentContainerException(String)

Creates a new instance of the ReplicationAgentContainerException class with a specified error message.

ReplicationAgentContainerException(String, Exception) ReplicationAgentContainerException(String, Exception) ReplicationAgentContainerException(String, Exception) 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.

Properties

ExceptionCollection ExceptionCollection ExceptionCollection ExceptionCollection

Gets the collection of exception objects returned by the replication agent.

FlatExceptionCollection FlatExceptionCollection FlatExceptionCollection FlatExceptionCollection

Gets the collection of exception objects accessed using the IEnumerable interface.

MessageCode MessageCode MessageCode MessageCode

Gets the error code of the underlying error.

(Inherited from ReplicationAgentException)

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Sets the specified SerializationInfo with information about the exception.

Applies to