Share via


ReplicationAgentException Constructor

Creates a new instance of the ReplicationAgentException class.

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

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New ReplicationAgentException()
public ReplicationAgentException()
public:
ReplicationAgentException()
new : unit -> ReplicationAgentException
public function ReplicationAgentException()

Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error.

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

Property

Value

InnerException

A null reference.

Message

A system-supplied localized description.