Freigeben über


ConnectionException-Konstruktor (String)

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

Parameter

  • message
    Typ: System.String
    A String value that specifies the message text describing the event that caused the exception.

Siehe auch

Verweis

ConnectionException Klasse

ConnectionException-Überladung

Microsoft.SqlServer.Management.Common-Namespace