Condividi tramite


ReplicationAgentException Constructor (String, Exception)

Creates a new instance of the ReplicationAgentException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Spazio dei nomi: Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public ReplicationAgentException (
    string message,
    Exception innerException
)
public:
ReplicationAgentException (
    String^ message, 
    Exception^ innerException
)
public ReplicationAgentException (
    String message, 
    Exception innerException
)
public function ReplicationAgentException (
    message : String, 
    innerException : Exception
)

Parametri

  • message
    The error message that explains the reason for the exception.
  • innerException
    The exception that is the cause of the current exception.

Osservazioni

The following table shows the initial property values for an instance of ReplicationAgentException.

Property

Value

InnerException

The inner exception reference.

Message

The error message string.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

ReplicationAgentException Class
ReplicationAgentException Members
Microsoft.SqlServer.Replication Namespace