Delen via


ConnectionException Constructor (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 _
)
public ConnectionException (
    string message
)
public:
ConnectionException (
    String^ message
)
public ConnectionException (
    String message
)
public function ConnectionException (
    message : String
)

Parameters

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ConnectionException Class
ConnectionException Members
Microsoft.SqlServer.Management.Common Namespace