Share via


ReplicationAgentContainerException Constructor (String)

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

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 ReplicationAgentContainerException(message)
public ReplicationAgentContainerException(
    string message
)
public:
ReplicationAgentContainerException(
    String^ message
)
new : 
        message:string -> ReplicationAgentContainerException
public function ReplicationAgentContainerException(
    message : String
)

Parameters

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

Remarks

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

Property

Value

InnerException

A null reference (Nothing in Visual Basic).

Message

The error message string.