Partilhar via


Construtor ReplicationAgentException (String)

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

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

Sintaxe

'Declaração
Public Sub New ( _
    message As String _
)
'Uso
Dim message As String 

Dim instance As New ReplicationAgentException(message)
public ReplicationAgentException(
    string message
)
public:
ReplicationAgentException(
    String^ message
)
new : 
        message:string -> ReplicationAgentException
public function ReplicationAgentException(
    message : String
)

Parâmetros

  • message
    Tipo: System.String
    A message that describes the error.

Comentários

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

Property

Value

InnerException

A null reference.

Message

The error message string.

Consulte também

Referência

ReplicationAgentException Classe

Sobrecarregado ReplicationAgentException

Namespace Microsoft.SqlServer.Replication