次の方法で共有


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

シリアル化されたデータを使用して ItemMustExistException クラスの新しいインスタンスを初期化します。

名前空間: Microsoft.Synchronization
アセンブリ: Microsoft.Synchronization (microsoft.synchronization.dll 内)

構文

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

Dim instance As New ItemMustExistException(info, context)
protected ItemMustExistException (
    SerializationInfo info,
    StreamingContext context
)
protected:
ItemMustExistException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected ItemMustExistException (
    SerializationInfo info, 
    StreamingContext context
)
protected function ItemMustExistException (
    info : SerializationInfo, 
    context : StreamingContext
)

パラメータ

  • info
    スローされた例外についての、シリアル化されたオブジェクトのデータを保持する SerializationInfo オブジェクトです。
  • context
    同期元または同期先についてのコンテキスト情報を含む StreamingContext オブジェクトです。

解説

参照

リファレンス

ItemMustExistException クラス
ItemMustExistException メンバ
Microsoft.Synchronization 名前空間