Freigeben über


ReplicationAgentException-Konstruktor (String)

Erstellt eine neue Instanz der ReplicationAgentException-Klasse mit einer angegebenen Fehlermeldung.

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

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
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
)

Parameter

Hinweise

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

Property

Value

InnerException

A null reference.

Message

The error message string.