ReplicationAgentException Class

The base exception class for exceptions generated during replication agent execution.

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

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class ReplicationAgentException _
    Inherits Exception
'Usage
Dim instance As ReplicationAgentException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class ReplicationAgentException : Exception
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ReplicationAgentException : public Exception
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type ReplicationAgentException =  
    class
        inherit Exception
    end
public class ReplicationAgentException extends Exception

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.