Share via


ConnectionFailureException Constructor (String)

Initializes a new instance of the ConnectionFailureException class with the specified message text.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.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: String
    A String value that specifies the message text describing the event that caused the exception.

See Also

Reference

ConnectionFailureException Class

ConnectionFailureException Overload

Microsoft.SqlServer.Management.Common Namespace