次の方法で共有


SqlTypeException コンストラクタ (SerializationInfo, StreamingContext)

シリアル化コンテキストとストリーム コンテキストを指定して、SqlTypeException クラスの新しいインスタンスを初期化します。

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

構文

'宣言
Protected Sub New ( _
    si As SerializationInfo, _
    sc As StreamingContext _
)
'使用
Dim si As SerializationInfo
Dim sc As StreamingContext

Dim instance As New SqlTypeException(si, sc)
protected SqlTypeException (
    SerializationInfo si,
    StreamingContext sc
)
protected:
SqlTypeException (
    SerializationInfo^ si, 
    StreamingContext sc
)
protected SqlTypeException (
    SerializationInfo si, 
    StreamingContext sc
)
protected function SqlTypeException (
    si : SerializationInfo, 
    sc : StreamingContext
)

パラメータ

  • si
    オブジェクトのシリアル化または逆シリアル化に必要なデータ。
  • sc
    指定したシリアル化ストリームの転送元と転送先の説明。

プラットフォーム

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、1.0

参照

関連項目

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