ReplicationAgentContainerException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)]
[System.Serializable]
public class ReplicationAgentContainerException : Microsoft.SqlServer.Replication.ReplicationAgentException
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type ReplicationAgentContainerException = class
inherit ReplicationAgentException
Public Class ReplicationAgentContainerException
Inherits ReplicationAgentException
- Inheritance
- 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() |
Creates a new instance of the ReplicationAgentContainerException class. |
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. |
ReplicationAgentContainerException(String) |
Creates a new instance of the ReplicationAgentContainerException class with a specified error message. |
Properties
ExceptionCollection |
Gets the collection of exception objects returned by the replication agent. |
FlatExceptionCollection |
Gets the collection of exception objects accessed using the IEnumerable interface. |
MessageCode |
Gets the error code of the underlying error. (Inherited from ReplicationAgentException) |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Sets the specified SerializationInfo with information about the exception. |