Share via


ConnectionFailureException Constructor (String)

Initializes a new instance of the ConnectionFailureException 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 ConnectionFailureException(message)
public ConnectionFailureException(
    string message
)
public:
ConnectionFailureException(
    String^ message
)
new : 
        message:string -> ConnectionFailureException
public function ConnectionFailureException(
    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 ConnectionFailureException.

Property

Value

InnerException

A null reference (Nothing in Microsoft Visual Basic).

Message

The error message string.

See Also

Reference

ConnectionFailureException Class

ConnectionFailureException Overload

Microsoft.SqlServer.Replication Namespace