次の方法で共有


SqlTypeException コンストラクタ (String, Exception)

指定したエラー メッセージと Exception に対する参照を使用して、SqlTypeException クラスの新しいインスタンスを初期化します。

名前空間: System.Data.SqlTypes
アセンブリ: System.Data (system.data.dll 内)

構文

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

Dim instance As New SqlTypeException(message, e)
public SqlTypeException (
    string message,
    Exception e
)
public:
SqlTypeException (
    String^ message, 
    Exception^ e
)
public SqlTypeException (
    String message, 
    Exception e
)
public function SqlTypeException (
    message : String, 
    e : Exception
)

パラメータ

  • message
    例外の原因を説明するエラー メッセージ。

プラットフォーム

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 2.0、1.1

.NET Compact Framework

サポート対象 : 2.0、1.0

参照

関連項目

SqlTypeException クラス
SqlTypeException メンバ
System.Data.SqlTypes 名前空間