次の方法で共有


DisconnectedConnectionException コンストラクター (String)

指定されたメッセージ テキストを使用して、DisconnectedConnectionException クラスの新しいインスタンスを初期化します。

名前空間:  Microsoft.SqlServer.Management.Common
アセンブリ:  Microsoft.SqlServer.ConnectionInfo (Microsoft.SqlServer.ConnectionInfo.dll)

構文

'宣言
Public Sub New ( _
    message As String _
)
'使用
Dim message As String 

Dim instance As New DisconnectedConnectionException(message)
public DisconnectedConnectionException(
    string message
)
public:
DisconnectedConnectionException(
    String^ message
)
new : 
        message:string -> DisconnectedConnectionException
public function DisconnectedConnectionException(
    message : String
)

パラメーター

  • message
    型: String
    例外の原因になったイベントを表すメッセージ テキストを示す String 値です。

関連項目

参照

DisconnectedConnectionException クラス

DisconnectedConnectionException オーバーロード

Microsoft.SqlServer.Management.Common 名前空間