SmoException コンストラクター (SerializationInfo, StreamingContext)
指定したシリアル化情報とストリーム コンテキストを使用して、SmoException クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'使用
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New SmoException(info, context)
protected SmoException(
SerializationInfo info,
StreamingContext context
)
protected:
SmoException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> SmoException
protected function SmoException(
info : SerializationInfo,
context : StreamingContext
)
パラメーター
- info
型: System.Runtime.Serialization. . :: . .SerializationInfo
シリアル化情報を示す SerializationInfo オブジェクトです。
- context
型: System.Runtime.Serialization. . :: . .StreamingContext
ストリーム コンテキストを示す StreamingContext コンテキストです。