Compartir a través de


ConnectionException Constructor (String)

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

Espacio de nombres:  Microsoft.SqlServer.Management.Common
Ensamblado:  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    message As String _
)
'Uso
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
)

Parámetros

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

Vea también

Referencia

ConnectionException Clase

Sobrecarga de ConnectionException

Espacio de nombres Microsoft.SqlServer.Management.Common